Hi, I’m a beginner and just learning how to create custom apps. However, I would like to ask… Is it possible to have 2 parameters with one of them having to be filled in, i.e. required?
So if the user did not fill in a single parameter, the user would be warned and could not “continue on”. Only at the moment when he would fill in at least one of them, he could.
Here is an example of 2 simple parameters where I would like one of them to always be filled (required).
I know that I can set a parameter required to true. But in my case I need that one of two parameters must be filled. So:
If parameter one and parameter two is not filled user will be warned that field/s are required and one of them must be filled.
If parameter one is filled and parameter two is not filled it will pass correctly.
If parameter one is not filled and parameter two is filled it will pass correctly.
If parameter one is filled and parameter two is filled also it will pass correctly.
But the states of the input fields are not updated when an input is given. The parameters are loaded only when you open the module, and will look at the required directive at that moment.
Cheers,
Henk
system
This topic was automatically closed because it's resolved or inactive. Please, start a new topic.
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.