Skip to main content
Participant
April 25, 2024
Question

Set fields to indicate action

  • April 25, 2024
  • 7 replies
  • 1057 views

I am preparing a form. If somenoe selects "No" for any question in one section, I'd like it to automatically indicate to the user that the form does not need to be submitted. Any chance that's possible?

This topic has been closed for replies.

7 replies

try67
Community Expert
Community Expert
April 25, 2024

I would use a (read-only) text field with red text that says something like "NOTE: This file does NOT need to be submitted" and a script to make it visible when any of those fields is set to No. If you let us know the names of those fields I could help you with the code to do that.

Participant
April 25, 2024

If the user clicks Check Box5#0, they should get a message to not submit. Is that enough? Thanks so much for the help. 

Nesa Nurani
Community Expert
Community Expert
April 26, 2024

If you want to make sure they can't submit, you should also set the submit button to read only when they check the checkbox.

Nesa Nurani
Community Expert
Community Expert
April 25, 2024

You can set an alert, something like this as validate script of that field:

if(event.value == "No")
app.alert("You do not need to submit this file",3);