Copied to clipboard

Flag this post as spam?

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


  • Sergio 8 posts 28 karma points
    Apr 15, 2013 @ 23:02
    Sergio
    0

    Attachment missed when not filling mandatory field

    Hi, I have a contour form that have several fields, one of the fields is an attachment field and other that is a mandatory checkbox that have to be filled in order to submit the form.

    If i attach a document and do not check the mandatory checkbox and hit submit then i got a error message (which stands that you have to check the checkbox) but then i have to look for the attachment again.

    I would really like not to look for the atachment again if i miss to check the mandatory field.

    Any thing i can try?

  • Comment author was deleted

    Apr 16, 2013 @ 07:44

    Hi Sergio, are you using the razor or usercontrol macro? 

  • Sergio 8 posts 28 karma points
    May 02, 2013 @ 18:32
    Sergio
    0

    I am attaching the contour form directly in a rich text box that later will be used in the page...

     

    Like this http://screencast.com/t/tSDSqAUu7AJ9

  • Comment author was deleted

    May 03, 2013 @ 11:31

    Ok and could you tell me wich Contour macro you used (there are 2 ones, one using a usercontrol and the other using razor)

    Thanks,
    Tim 

  • Sergio 8 posts 28 karma points
    May 03, 2013 @ 20:16
    Sergio
    0

    We are using this umb_macroalias="umbracoContour.RenderForm"

  • Comment author was deleted

    May 06, 2013 @ 13:00

    Hey Sergio,

    I would suggest that you use the razor version of the macro that handles the validation of the checkbox client side and shouldn't lose the selected file

Please Sign in or register to post replies

Write your reply to:

Draft