I made an informational form and wanted to disable the or at least make invisible the Submit button. Anyway I can do that without resorting to creating the form outside Survey123?
Solved! Go to Solution.
I also got this to work.
Brilliant.
Now, can esri please implement into the core of the product somehow?
Thank you
Can the error message be styled to look "better"?
Something besides red box and red lettering.
Thank you
At the time I figured this out, that part of the form accepted very little HTML, if any. Unless ESRI updated S123 to allow more CSS or HTML, then probably not still
This is such a nice solution, I was able to use this to deny submission if the drawn-in feature intersected with some areas that we don't want people working in. I used three questions:
1. Name: getNoBuild, Label: No Build Area (not important, since it's hidden), Appearance: Hidden, bind::esri:fieldtype: null, Calculation: pulldata("@layer", "getValueAt", "attributes.AreaName","<Service Name>", ${polyline})
2. Name: calcNoBuild, Label: Calc No Build (not important, since it's hidden), Appearance: Hidden, bind::esri:fieldtype: null, Calculation: if(string-length(${getNoBuild})>0,1,0)
3. Name: denySubmit, Label: Notice:, Required: Yes, ReadOnly: Yes, Relevent: ${calcNoBuild}=1, bind::esri:fieldtype: null, Calculation: if(string-length(${getNoBuild})>0,1,0), Hint: Row work in this area is currently not allowed. Please contact city staff for more information
Thank you!
@ZachBodenner Can you provide a link to the live sample or some screen shots of what the solution looks like?
I'm wanting to format the "Message" to not be a Red Box with Red Text.
Or, do you know how to format the message that says what the Form can't be submitted?
You could create a note then use relevancy to show the note, for example, when another field is left blank, for example: string-length(${otherfield}) <1). However, even the note doesn't have a whole lot of html customization that I found.
This is the solution I came up with for people to type in their address and find out when trash pickup is for their location. When at least 6 characters are typed into the address bar, several notes will show below: