[SOLVED] Changing format of value returned by pop up calendar
Hi All,
I have created a simple html page with the composer and have two calendar controls (Start Date and End Date). When a user selects a date from the calendar control the format of the value selected and inserted into the textbox is YY/MM/DD. I need to have the format changed to YY-MM-DD because of constraints on the database side. Is this possible?
Thanks for any and all advice, BThis message has been edited. Last edited by: Kerry,
WebFOCUS 7.7 Windows All Output (Excel, HTML, PDF)
May 14, 2010, 10:17 AM
Severus.snape
Hi,
Yes you can convert the date once it is passed to the fex file...you can use EDIT to do this.. or you can convert the format in the launch page itself before submitting the form..you can write a simple validation function in javascript which can do this..
thanks Sashanka
WF 7.7.03/Windows/HTML,PDF,EXL POC/local Dev Studio 7.7.03 & 7.6.11
May 14, 2010, 10:47 AM
njsden
Assuming &STARTDT is one of the parameters sent from the HTML launch page, try: