You are viewing limited content. For full access, please sign in.

Question

Question

Customizing a table/field used for comments where specific conditions apply

asked on February 13

I have been asked to update a form that contains a table with three (3) columns.

Column 1 – Value is Fixed (no additional rows can be added)  

Column 2 – Required, Yes/No selection (default = Yes)   

Column 3 – hidden, appears when change to Column 2 = No 

  • Condition 1: Field must contain text when change = No
  • Condition 2: Form cannot be completed/submitted without entering text in Comment field
  • Condition 3: Error message prompts user to resolve condition 2   

 

Columns 1 and 2 requirements are working.  Column 3’s conditions are where I lack ability/knowledge to build out.   After some research it appears I could use JavaScript to make the comment field required and add an error message that clears once text is entered.  My problem is I have very limited JavaScript skills.  

Any suggestions or guidance would be appreciated.   

0 0

Replies

replied on February 13

If you are using the modern designer, you should be able to do this with Rules,
ie: When field 2 is No, validate field 1 as required, validate field 3 as required. In this way they can't submit the form unless those two fields have data entered as they are required

0 0
replied on February 13

I will convert to Modern and give it a try.  Thank you!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.