AnsweredAssumed Answered

Custom DateTime field and repeating sections.

Question asked by gregr on Nov 9, 2017
Latest reply on Nov 13, 2017 by gregr

Since SP's DateTime control does not allow me to let the user specify anything non-date I use a text box and a jquery calendar control and set the constraint to false.Then just apply the CSS where needed. It works good except for in a repeating section.

 

NWF$('.DATEFIELD input').attr("placeholder", "mm/dd/yyyy").datepicker({ constrainInput: false });

 

The problem exists after you add a row. The calendar pops up and you can click the date but it does not populate the field. The Placeholder exists. But no date is populated. If I save and exit and go to the next row it works only if the row exists, just not after I click add row.

 

Any ideas?

 

Thanks.

 

Outcomes