JS help needed for date fields
JS help needed for date fields
Hi everyone, I have field_440 and field_441 both on the same entity and on the same form. Before submitting, Before saving the form, I want to check if date of field_441 is MIN field_440 (field_441=>field_440) and if it is, warn the user and disable save. Is that possible by JS and a help on code if possible? Thank you very much.
- support
- Site Admin
- Posts: 6215
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: JS help needed for date fields
You can find an example here https://docs.rukovoditel.net/index.php?p=113#onSubmit
Re: JS help needed for date fields
I was able to use these for several scenarios. Thank you.