These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Need help with fields on my form (date and check box)

davidgelb
Registered: Jan 11 2008
Posts: 2

I have 2 questions for you...I am working on a form with date fields and check box fields.
 
One field is a To and From date field. I need the to date to automatically calculate 30 days from the From date and enter it into To.
 
Second, I have a set of check marks - only one can be selected. If one is checked and they check the other, I need it to automatically uncheck the first.
 
Any help would be greatly appreicated! I don't have any scripting experience.
 
Thanks,
David

My Product Information:
LiveCycle Designer, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi davidgelb,

There are a couple articles on these topics at JavaScript Corner including example PDFs with the scripting done for examination. Of course this may not fit your exact needs, in which case you will need to get your feet wet with JavaScript.

[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part1/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part1/[/url]
(this is part 1 of a series of 3 articles)

[url=http://www.acrobatusers.com/tutorials/2007/js_radio_check_box/]http://www.acrobatusers.com/tutorials/2007/js_radio_check_box/[/url]

Another option you can consider for the checkboxes would be to use radio buttons instead- radio buttons automatically act the way you want your checkboxes too.

Hope that helps,

Dimitri
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]