I am attempting to do some Date editing, add today's date to a Date field on rendering and format all date fields in dd/MM/yyyy. Every time I save a change and preview, the input id's change ...is this normal behavior (I wouldn't of thought so). I am new to Plumsail Forms (js & css). Thanx...
Hi @changa3065,
You should be able to access a field from JavaScript with the field() function:
fd.rendered(() => {
fd.field('DateFieldName').value = new Date();
});
The best way to change the date format is to select English (United States) in the Regional Format field of the General Form Settings.
If that doesn't help, could you share the form's preview link?