Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fredrik Esseen 610 posts 906 karma points
    Sep 02, 2009 @ 14:44
    Fredrik Esseen
    0

    Validation in Doc2Form

    I cant really get a grip at how to use the validation in Doc2Form. Can someone please give a quick guide with some example code?

    Now, when all the fields that is not filled in correctly, the form only shows a list that says "The field is required" as many times as their is fields not validating.

    Thanks!

  • Roger Hughes 55 posts 88 karma points
    Oct 14, 2009 @ 12:45
    Roger Hughes
    0

    Hi There,

    If you have the form posting from the front end to the admin system, the form mimics the fields of the admin form for that page right?
    Ok, so if this is the case, the initial validation you apply to the doc type fields for that page will also be mimicked by the front end form. The autoform or doc2form basically copies the doctype values from the admin area.

    I may be corrected on this but I found out by trial and error through the same problem as you :-)

    Rog

  • Fredrik Esseen 610 posts 906 karma points
    Oct 15, 2009 @ 09:08
    Fredrik Esseen
    0

    Ah, that sounds logical. Thank you!

Please Sign in or register to post replies

Write your reply to:

Draft