Wiki Forum Sign up! Explore Home

Not signed in (Sign In)

LiveSearch

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorsunil
    • CommentTimeOct 10th 2007
     permalink
    Hi,
    Suppose i want to give error msg when somebody want to edit date or time and they enter wrongly by somehow . They will not know where they went wrong so i want to match the date or time with the format and print the error.How can i get this.
    • CommentAuthoradmin
    • CommentTimeOct 12th 2007
     permalink
    Um... By checking the date against the wanted format and then adding a message to flash['notice'] if it's wrong?

    Or by catching the exception on the attempted parse, and using that?

    -- Erlend