Planet PDF Forum Archive

Planet PDF ForumThis is from our 160,000 page PDF discussion forum archive one & two spanning 1999-2011. Use the filters on our Advanced Search page to search archive only. Head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions.


Previous | Next | (P-PDF) Acrobat 6.0


Topic: Display field depending on System Date? (Via Email), 1 Attachments
Conf: (P-PDF) Acrobat 6.0, Msg: 113740
From: freakazeud
Date: 6/19/2004 01:44 AM

Hi everyone,
I have a very difficult problem with a form I'm creating in Acrobat 6 Pro. I hope someone can help me. The problem I have is that I'm creating a form with dates from Mon-Sun on it. The user is only allowed to fill out fields for a day at a time and only on the correct day. So when it is Mon they are just allowed to fill out fields for Mon. I solved the problem of being able to just enter info for one day by making the user select what day it is and then using hide/show fields action to display and hide the appropriate fields. I will attach a screenshot (might all sounds kind off confusing:).
The problem now is that the user can still just select any date and fill everything out even though it is not the right day of the week. I was wondering if there is any way to compare the system date with the selection of the user and if it doesn't match to not allow the display of the fields and entry of info. Maybe some kind off JavaScript would help me out with this, but I could not find anything even close to this topic.
Another question I was wondering about is: Is it possible to make/force the user to save/export the fdf form to a predefined name which again is the system date? E.g. when you press a save button it will automatically export to fdf with the date submitted as the file name and save it to a separate location somewhere.

I hope all this is not too confusing, if so let me know and I will try to clear it up.
I would really apreciate any comments and help.
Thanks in advance,
Oli.

Screen shot of Acrobat 6 form