Tx for the quick answer

I am using this plugin
http://bassistance.de/jquery-plugins/jquery-plugin-validation/

I will try to put the js code on the bottom (after i have created the
dyn. fields)

Thnks for pointing me to the 'live' function but i don't think i can
use it in combo
with the validation plugin i am using at the moment

Regards

On 2 dec, 10:56, Dhruva Sagar <dhruva.sa...@gmail.com> wrote:
> Are you using some validate plugin ?
>
> If you are doing so, you need to ensure that you execute your code only
> after the dynamically generated fields have been generated OR you do it
> everytime your dynamically generated fields are being generated.
>
> For ordinary events, there is this 'live' function that jQuery provides
> which enables you to be able to bind events even to such dynamically
> generated nodes, but I am not sure if you can make use of that for this
> validate() call.
>
> Thanks & Regards,
> Dhruva Sagar.
>
> On Wed, Dec 2, 2009 at 3:21 PM, 123gotoandplay 
> <wesweatyous...@gmail.com>wrote:
>
> > Hi,
>
> > I am trying to validate some dynamic generated input fields, like so
>
> > $("#form1").validate({
> >                rules: {
> >                $("[name^=eventlink]") : {
> >                                required: true,
> >                                url: true
> >                        }
> >                }
>
> > The input fields have the word eventlink in common, unfort this
> > doesn't work

Reply via email to