AnsweredAssumed Answered

Hide 'Collect' based on item in XLS Form in Survey123?

Question asked by TLongSUGF on Aug 28, 2019
Latest reply on Aug 28, 2019 by TLongSUGF

I am currently hiding the Collect option based on Title of the form.  I would like to be able to hide the Collect based on coding in something else that I can later add to the form.  Is there something I can pull from the XLS form that the user doesn't see (or does) so I don't have to hard code titles.  

 

I would like to use match like below, but not title.  Can I grab 'form_id', 'summary' or even 'description'?

title.match(/Some Awesome form_id.*/)

 

Here is what I have:

 

SurveyInfoPage.qml

line 527

 

            enabled: if ( title == "Some Awesome Survey" 
                           
{false
                        }
                           else
                         {true
                          }

 

 

Erwin Soekianto

Outcomes