Make an array... <input type="text" name="urls[]" ... />

<validator class="string" ...>
  <argument base="urls[]">
    <argument />


On 07.03.2009, at 23:37, Michal Charemza wrote:

Hi,

I'm making a form so an editor can put in related links for a page.
The number of links is arbitrary, up to some maximum. I can define a
validator for each of these, say, url1, url2, url3.... However, I
wonder if there is some nicer way of defining the validation for all
of these?

Michal.

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to