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