×
We value your feedback! Please click here to access our 2024 Client Survey.
The survey will remain open until November 1st. Your perspective will help guide our product/service planning and goals for the upcoming year and beyond!

'survey label' field from surveys.Surveys table

LabKey Trial Support
'survey label' field from surveys.Surveys table rita alves  2020-01-09 05:56
Status: Closed
 

Hi

Is there any possibility to automatically fill the question patientid using the 'survey label'? How to access to the survey label field?

{"name" : "patientid",
"caption" : "Patient ID:",
"required" : true,
"xtype": "textfield",
}

Thanks in advance

 
 
Jon (LabKey DevOps) responded:  2020-01-28 00:46

Hi Rita,

Unfortunately, the Survey Label is not accessible to allow a user to auto-populate values to it.

You can however choose to not have it display, which will populate the date and time for the specific survey entry on the surveys table.

Please look at our survey designer reference and you'll see an attribute called "useDefaultLabel" under the start menu.

https://www.labkey.org/Documentation/wiki-page.view?name=surveyOptions

Regards,

Jon