I am trying to create a timesheet in Livecycle to replace the current form I have in Excel. I am still a beginner w/ LiveCycle and this is the first real issue I have had in quite some time. I am having trouble requring a field based on a choice.
The timesheet is set up as follows:
In my excel spreadsheet when you choose Project, the Customer: Job Field in the same row turns red, indicating that it is now a required field. If you choose Overhead the Explanation field in the same row turns red, indicating that is is now a required field. I would either like to do the same thing with this form (turns red) or actually make the field required, whatever is simpler.
Can anyone help me out with this? I am very lost. If it is not possible to change fields based on dropdown selections does anyone have any alternative suggestions? Any and all help is very much appricated.
Solved! Go to Solution.
Views
Replies
Total Likes
You can do the following way..
Exit event of the Dropdown with Java Script as language.
if(DropDown1.rawValue == "Project"){
Customer.mandatory = "error";
JobField.mandatory = "error";
}
You can replace the field names with the actual names in your PDF.
If you want to enable mandatory you set the property "error"
to disable you set property to "disabled".
Thanks
Srini
Views
Replies
Total Likes
You can do the following way..
Exit event of the Dropdown with Java Script as language.
if(DropDown1.rawValue == "Project"){
Customer.mandatory = "error";
JobField.mandatory = "error";
}
You can replace the field names with the actual names in your PDF.
If you want to enable mandatory you set the property "error"
to disable you set property to "disabled".
Thanks
Srini
Views
Replies
Total Likes
thank you very much for your help. this was very simple and easy.
have a great day!
Views
Replies
Total Likes
Views
Likes
Replies