1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Validation Groups in forms

Validation Groups in forms

5 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    02 Jun 2012
    Link to this post
    Setting the Validation Group property doesn't seem to work

    I have a 3 page form, so I want each page (layout...) to have its own group.
  2. Atanas Valchev
    Atanas Valchev avatar
    414 posts
    Registered:
    04 Jan 2016
    07 Jun 2012
    Link to this post
    Hi Steve,

    I tested this and it seems that even if I set different validation groups for different elements and submit buttons, it still submits everything. I will need to confirm that this is a bug with the person who developed this, unfortunately he is out of the office. On Monday I will be able to either confirm this as a bug or have more information on how to use it properly. 

    All the best,
    Atanas Valchev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    07 Jun 2012
    Link to this post
    Much appreciated, thanks :)

    ...pretty sure its a bug since those fields do nothing, but maybe just not implimented
  4. Atanas Valchev
    Atanas Valchev avatar
    414 posts
    Registered:
    04 Jan 2016
    12 Jun 2012
    Link to this post
    Hello Steve,

    From what I found the function of validation group is to validate only the fields of a single form when you have multiple forms on a page. When you place a form widget and select a  form the validation group value is set automatically for the form widget. Did you use Pavel Iliev's blog to create a form with multiple pages?:http://www.sitefinity.com/blogs/pavel-iliev/posts/11-11-20/client_side_multipage_forms.aspx. So basically the validation group maps the controls to the specific form. However I was unable to determine if it is supposed to work if you enter it manually.
     
    Regards,

    Atanas Valchev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    12 Jun 2012
    Link to this post
    No I don't go with that solution because it required me to make multiple layout controls for I guess 2-10 page scenarios.

    I just used 3 100% layouts and a couple lines of javascript....and was hoping to set validation groups on the controls.

    The fundamental problem of all of this is that you haven't yet allowed us to expose simple properties on the layouts.  Like if you let someone set the "NumberOfPages" on Pavels example in the "edit" mode of his custom layout, then you not only need to have one control, but the possibilities for layouts increases exponentially....like a role based layout for example.
5 posts, 0 answered