Is it possible to mark all controls read only dependant on the value of a particular control/field? Rather than have to add a rule to every single control (I have a lot! )
Did you know that a rule can be applied to multiple controls? Select all the controls that you want to set to disabled based on the condition and then "Add Rule" to set the condition and behaviour. Or conversely, if you already have the rule set up for a control, ensure that it is visible by selecting "show all" at the top of the rules panel. Then, select all the controls you want to add to the rule. Go to the drop-down arrow next to the rule and select "Add to selected controls". All the controls you had selected will now be applied to that rule as well.
Let us know how this works out.
What about the "Read Only" portion of this question? How do you set a form field to read only based on the value of another field on the form?
What is the rule to be added to make the entire form read only?
If all the controls you are using have the same rule, it may save you some time to put them all into a panel, and attach the formatting rule to disable the panel (instead of individual controls).
I do exactly the same thing for several forms I have developed. I've found that it's easier to work with a panel as opposed to trying to update several controls at one time.
I've tried this and I'm sort of stuck I have 2 questions 1) how do you add a control to a panel & 2) what is the syntax of the rule? I added a rule to a control and merely suceeded in hiding the whole form (not just the control with the rule)
Aggghh! stupid editor deleted 95% of my reply
I’ll try again I’ve sorted the rule syntax but still don’tknow how to add controls to a panel As there are only a few fields I’ve added torule to all of them. Unfortunately the rule only works if the control isvisible, ideally I’d like to hide the control but if I do the rule stopsworking
Is there an answer to this question?
It might be easier to start another thread with your form specific questions. The only reason I say that is because I think people aren't noticing these later questions at the end of the thread and it'll get you more attention to your specific problem. To add controls to a panel, you simply drag and drop the panel onto the form (from the controls menu) and then you drag and drop controls over the panel and put them inside of it.
To add to what mike's comment, after you have added the panel and moved the controls into the panel, you will want to remove the rules in your individual controls and as them to the panel.
SeeShow or hide controls with Rules in Nintex Forms for some general concept of using rules in a panel.
If you want to mark all the controls as "read-only" you could use the Disable option on the rules panel. As stated before, you can apply 1 rule to all controls on the form.
Thanks everyone for your help
What is the rule to be added to make the form read only once it is submitted?
Retrieving data ...