Survey Designer issue with "useDefaultLabel" option

LabKey Support Forum (Inactive)
Survey Designer issue with "useDefaultLabel" option Jon (LabKey DevOps)  2015-10-01 13:12
Status: Closed
 
Hi Vincent,

It would actually be better if you could provide me with your code instead. I was able to hide the survey label without any issue.

What I did was to follow this tutorial to make a list with a few fields, then use the survey page to generate my questions:

https://www.labkey.org/wiki/home/Documentation/page.view?name=survey

This created the ExtJS that started like this:

{
  "survey" : {
    "layout" : "auto",
    "showCounts" : false,
    "sections" : [ {
      "questions" : [ {
        "name" : "FirstName",
        "caption" : "FirstName",
        "shortCaption" : "FirstName",
        "hidden" : false,
        "jsonType" : "string",..........


All I did was this:

{
  "survey" : {
    "layout" : "auto",
    "showCounts" : false,
     "start": {
        "useDefaultLabel": true
     },
    "sections" : [ {
      "questions" : [ {
        "name" : "FirstName",
        "caption" : "FirstName",
        "shortCaption" : "FirstName",
        "hidden" : false,
        "jsonType" : "string",........


Can you give this a try?

Regards,

Jon