I am using Adobe LiveCycle Designer ES4 and I would like to use the existing date field and when the user chooses the date an additional field would populate the day of the week. Is this possible without too much script being used.
Thanks for the reply. I tried your suggestion, but it doesn't work quite right. I selected 8/20/15 as the date in the First_Day field, which is a Thursday. In the screen shot below, you can see that the script started with Monday, and it started with the second field, instead of the first. What do you think?
I have a slight twist to the day of week issue that you resolved above.
I have a date field called "First_Day", and seven text fields, one for each day of the week. I can get the above to work on the first text field, but what I want to do is change the date that is evaluated to First_Day + 1, First_Day + 2, etc.
My goal is to enter or pick a date in the date field "First_Day". Then, use that date to extract the day of week for each of the seven text fields, labeled "Day_1", Day_2", etc., incrementing the date as you go along.
First_Day = 08/25/15
Then, the text field values should be..
Day_1 = Tuesday
Day_2 = Wednesday
Day_3 = Thursday
Day_4 = Friday
Day_5 = Saturday
Day_6 = Sunday
Day_7 = Monday
As an added bonus, I would like to convert the days of the week to uppercase.