Hello
There seems to be a problem with the date format. Please look at the year. Is there any way to validate the format and output a message if not correct? <http://discuss.orbeon.com/file/t375765/18-02-_2021_13-44-53.png> -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1613652476074-0.post%40n4.nabble.com. |
Administrator
|
Hi Daniel,
How did you get "3.12.190000" in the date? What are the steps I need to do to reproduce this? And what version of Orbeon Forms are you on? -Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1613764443721-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex
Thank you for your answer. I just write a wrong year myself to test if it validates. It is a slightly older version: 2018.2.2 -Daniel -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1614083417775-0.post%40n4.nabble.com. |
Administrator
|
Hi Daniel,
Got it, 2018.2.2 already had the new date control (see 1st link below), but maybe this issue has been fixed since then. Does the behavior in 2020.1, where the date is "autocorrected", seem more reasonable to you? You can try it in the 2nd tab of the Forms Controls (see 2nd link below). BTW, we're thinking of changing this again, and keeping what the user entered, and marking it as invalid, instead of trying to autocorrect it. https://blog.orbeon.com/2019/02/improved-date-and-time-controls.html https://demo.orbeon.com/demo/fr/orbeon/controls/new -Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1614110153793-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex
Thank you for your answer. Marking as invalid seems to me to be the better solution instead of autocorrect it. - Daniel -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1614693337733-0.post%40n4.nabble.com. |
Administrator
|
Hi Daniel,
Perfect, and I created RFE #4794 to track this. https://github.com/orbeon/orbeon-forms/issues/4794 -Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1614718249079-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |