Answered
I have a LiveCycle form that has a simple button that I want to add some javascript that sets the date of another field when it's clicked. I figured it would look somehting like this below:
TechValue.WorkFlow.TCStartDate.value = "start";
TCStartDate is the name of the date field and I'm not sure what to enter in .value = ""; that would set in todays date when useres click the button.
Has anyone else dont this?
I prefer FormCalc instead JavaScript for date and time functions, as it much easier to handle.
This script will populate the field TCStartDate with the current date:
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs