Link to home
Start Free TrialLog in
Avatar of bganoush
bganoush

asked on

Default date field to current date in IBM Forms

Hi,

I am using IBM Forms on my portal server where I have a date field. The user supplies a number of days to my form in one field and a start date in another fields.  I need to calculate the end date from there.  I need two things here, first I need to default the start date to tomorrow and second I need to set the end date when the date or number of days changes. Does anyone know how to do this?  Please be explicit, I have only been doing forms for three weeks and already the training is seeping away...

Bubba
Avatar of ahoffmann
ahoffmann
Flag of Germany image

> .. date to tomorrow ..
what is "tomorrow" when the server is located in timezone EST, runs with timezone GMT and its TZ environment is set to MST and also the client (browser) is located in GMT-12 runs in timezone PST and claims via browser settings and/or HTTP headers to be in GMT+3

would you do the calculation on server (which I recommend) or on the client?

sorry for beiing a bit pedantic for a question which sounds simple, but we're in a global world  ;-)
ASKER CERTIFIED SOLUTION
Avatar of bganoush
bganoush

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bganoush
bganoush

ASKER

Found solution by asking Dr. Google...