I would like to show 2 fields if yes/no field is selected and also would like to make it mandatory if yes is selected. How do I do it?
Dear @coresoul,
Please check out this documentation: https://plumsail.com/docs/forms-sp/how-to/conditional-fields.html
if (fd.field(‘yesnofiled’).value)=1 {
}
Is this the code for Yes/No Check?
Also how do i make other 2 fields required if true?
1 Like
Dear @coresoul,
Yes, if (fd.field('YesNoField').value == 1) {}
could be used as a Yes/No check.
Please check out this documentation, I hope you find it useful: https://plumsail.com/docs/forms-sp/how-to/conditional-fields.html
1 Like
+1 Thanks for the reply, solved a problem right away. "True" or "Yes" won't work for Yes/No field value check.