CHANGE FIRST DAY OF WEEK IN CALENDAR ELEMENT
Here it is explained how to make Monday the first day of week in Calendar element with date format "%Y-%m-%d".
Go to form Advance Options > More Options > Scripts > Initialization Script > Custom > Press "Create Code framework" and paste this in between :
Calendar.setup({
inputField : "ff_elem1717",
ifFormat : "%Y-%m-%d",
button : "ff_elem1717_calendarButton",
align : "Bl",
singleClick : true,
firstDay: 1
});
The whole code will look like this:
function ff_formName_init()
{
Calendar.setup({
inputField : "ff_elem1717",
ifFormat : "%Y-%m-%d",
button : "ff_elem1717_calendarButton",
align : "Bl",
singleClick : true,
firstDay: 1
});
} // ff_formName_init
NOTE: To make this work for your form you have to find your calendar element ID and replace ff_elem1717 with it. Also, you have to replace ff_elem1717_calendarButton with your calendarButton ID. Also, formName will be the name of your form.
The first day of week can be set to what is suitable by changing firstDay: 1 to another value.




