Hello,
I have an IG where there are 2 date fields, and I wanted the second date field to have a minimum value of first date picker + 1 day, but only if the first datefield is in the next day, otherwise to have the default min date set in the property.
Example: date field 1 contains 04-Nov, then min date of date field 2 to be 05-Nov, so this only if today 03.11 I choose next day in the field 1.
If today I choose 05.11 in field 1, then date field 2 should have the min date as it is configured.
Anyway I tried with only as test:
$('#P1_SECOND_CALENDAR').datepicker("option","minDate",$("#P1_FIRST_CALENDAR").val());
but this works only with static items, if date picker fields are in an IG, this seem not to work.
How to achieve this in IG?
Thanks