Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java/java script auto generate END Date

833473Feb 2 2011 — edited Feb 3 2011
Hi,

I have a jps page with 4 fields.

1. drop down list
2. text box
3. start date
4. end date

the problem is

text box will allow "number of days"
start date will get date from user on popup window
end date has to be generate based on text box value "no of days", another filed which will retrieve from db and start date

ex:

if text box values is <50 and start date (user selected date) is 02-04-2010 , the end date should add 8 days from the start date.

now the problem is calculating end date based on the start date with no of days which is given by user.

i have spend time to write java script, but i am not able to complete the entire logic.

please give some idea whether it can perform by java script or java bean.


Thanks,
Jasmin Rosline
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 3 2011
Added on Feb 2 2011
4 comments
448 views