If we are giving a visibility When condition on a dynamic layout will it be considered client side validation?
Attaching screenshot of my UI.
If we are giving a visibility When condition on a dynamic layout will it be considered client side validation?
Attaching screenshot of my UI.
@TanyaS58 - No its validate on server side. Expressions will be validated at client side. After adding the expression rule will be seeing a check box “Run visibility condition on client” and enable the check box to validate at client side.
Thank you.
When rules usually compare the data of the properties from the server and provide the result. So unless there’s an option specifically mentioned for client side validation, when rules are server side.
@SohamM95 just a small confusion so basically in server side validation when we check for any property say first name or last name usually after submitting the case it throws an error now in case of a visibility when rule that dynamic layout will be visible to the user if the condition in the when rule is satisfied so this will be done post submitting the case? ideally it should done beforehand right?so it means the user will be able to see the dynamic layout first ?and after submitting or refreshing the case it will be hidden?
There’s no concept of submission in case of visibility. Here server side means it’ll check the data on the db and compare it with the property provided in the when rule. Now suppose the data gets updated, in order to check the updated data in the db a refresh is required, because of which we add refresh this sections so when the screen renders again the new data is compared with from the db.