jQWidgets Forums

jQuery UI Widgets Forums Plugins Validator, Drag & Drop, Sortable Add validation rules on input itself

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 10 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • mserioli
    Participant

    Hi.

    I would ask if is it possible to add validation rules directly on input element and then validate form before submission instead of specify a list of validation rules directly in the form.

    something like

    $(‘#element1’).rules(“add”, { … list of rules });
    $(‘#element2’).rules(“add”, { … list of rules });

    and then $(‘#form’).validate({});

    I’m developing using a tag library and to me this functionality comes very useful.

    Thank you for any hint.

    Marco


    Dimitar
    Participant

    Hello Marco,

    Unfortunately, there is no such functionality available.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.