Focal Point
[SOLVED] How to manually update the HTML composer’s calendar control?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2497011496

August 11, 2020, 08:41 AM
Emily Lee
[SOLVED] How to manually update the HTML composer’s calendar control?
The HTML composer’s calendar control has two part , the calendar INPUT control part, and the calendar widget. The calendar INPUT box id is “calendar_input”, it will feed the variable &Date to the processing program . The default vale for the calendar INPUT box is the current-date. The user can change the “calendar_input” box with any date by using the “calendar widget” or manually update the “Calendar INPUT” box.

We found when user manually update the “calendar INPUT” box, the value will not pass to the &Date, The value of &Date will be assigned and pass only when user use the “calendar widget”.

Can anyone help me with this? Thanks.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.2.01 AppStudio
HTML, PDF, Excel
August 17, 2020, 02:06 PM
FP Mod Chuck
Emily

Since no one was able to provide any guidance I hope you opened a case with techsupport...


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
August 18, 2020, 04:25 PM
Emily Lee
The problem resolved!
In the Properties view, I originally defined the “calendar_input_date” field as “validate/required”, and in the Settings view, I originally checked the “Send unformatted value” checkbox for this filed. Maybe it caused conflict. After I uncheck the “Send unformatted value” box, let the HTML pass the formatted date value to the processing program. It accurately passes the “formatted date” value to the processing program, entered either with calendar widget or with keyboard. Of course, I need to modify the processing program of the date format of the input variable - &Date from unformatted (01312019) to formatted (01/31/2019).


WebFOCUS 8.2.01 AppStudio
HTML, PDF, Excel