Solved

Default date field to current date in IBM Forms

Posted on 2012-03-29
3
609 Views
Last Modified: 2013-12-18
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
0
Comment
Question by:bganoush
  • 2
3 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 37785901
> .. 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  ;-)
0
 

Accepted Solution

by:
bganoush earned 0 total points
ID: 37787561
Both the server and the users are local in the same timezone, they actually use the same time server to synchronize their clock.

I was able to find some samples to do this.. thanks anyway....
0
 

Author Closing Comment

by:bganoush
ID: 37805132
Found solution by asking Dr. Google...
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
This code tracks birthdays 3 74
Angular 2 - Issue in page Layout 2 60
ebay api to see some data about my customers 2 31
One field not displaying content (ASP Classic) 8 26
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question