Set datepicker to readonly using javascript/jquery
Confluence User - 22 May, 2020
Hi Experts,
I have a created a script to count total days between 2 date in a datepicker. It works. However, I wouldn't want the user to able to edit the date. By set the section or the datepicker field to readonly using Joget-already has function, the script to calculate the total days is not working.
Below shows day of process not working when both date is set to readonly using Joget Readonly function:
I have tried many different syntax to do this however all of them doesn't work. Here's my reference: https://stackoverflow.com/questions/7812063/jquery-datepicker-readonly . Can anyone help me :<
datepicker;joget;javascript;customcode

