The plugin by default picks up attributes, so if you're using attribute
names that match validation plugin methods, it should work like that. Though
you may need to also provide a value, ala required="true", not sure about
that.

Jörn

On Sat, Nov 7, 2009 at 6:21 AM, Iwan Vosloo <i...@reahl.org> wrote:

> Hello,
>
> We are trying to use the validation plugin with HTML that's been
> generated for us.  There are a couple of things we'd like to customise
> if we can for the plugin to work with this HTML.
>
> One of them is that the code uses some HTML5 conventions - like how to
> specify when an input is required:
>
> Usually you'll have something like:
> <input type="text" class="required">
>
> In our HTML, we'd have:
> <input type="text" required>
>
> Is there a way to customise/configure the validation plugin to
> recognise the latter?
>
> Thanks
> - Iwan
>

Reply via email to