Skip to Content
avatar image
Former Member

adobe date format `dd-mmm-yyyy'

Hi

Iam positing this thread for the second time

i have binded an attribute of type date to date/time field in interactive form,but when i enter invalid format other than DD-MMM-YYYY format then i should get pop up window saying that PLEASE ENTER VALID FORMAT and at the same time when user click on OK button of pop up window,then value(invalid format) in date/time fild should become NULL ...Hope you will respond soon..

Thanks

Rahul

Edited by: rahul kumar on Dec 9, 2008 2:51 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 09, 2008 at 08:38 PM

    Hi Rahul,

    I noticed this is your third post for the same problem...

    If you want to nullify something, in form calc,

    if (condition is not met) then
       $.rawValue = ""
    endif
    

    The other thing that you can do is inside the form designer, make sure that you use a Date/Time field. under the Object -> Field tab, you can control how you want the date to be displayed. Then in the Value tab, you can specify a validation pattern, and a message if the pattern has been violated...

    Cheers,

    Kevin

    Add comment
    10|10000 characters needed characters exceeded