Field validation

I want to add a field validation in freedom ui, like, it's a date field then i want to impose a condition if date selected by the user is backdate then don't allow the record to be saved.(Freedom UI)

Like 0

Like

4 comments

Hey,
So for example if you have a date field as dateofPM and you want to prevent the user to choose a date, which is before the date of the CreatedOn of the record 
Below is a Example of the code:
 

Hope this helps.

 

thanks but i want it in freedom ui, so where to write this js code

Ryan Farley,

Thanks Ryan, I tried this, but it didn't work, I will share my code here of this approach meanwhile I tried applying validation popup using handler, if you can suggest me any handler/function which will prevent saving the record if the control passes to this handler? this is my handler code:

 

 

Show all comments