Hi all,

I´m posting this also here becaue my last mail got bounced by the
Formencode list.

I have javascript code that allows me to duplicate HTML select
elemets, although the users can delete the elements, each newly
generated element gets a new name number in ascemding order, for
example:
<input id="test-0" type="checkbox" name="test-0" value="$
{c.publicize}" checked="${c.publicize}">
<input id="test-1" type="checkbox" name="test-1" value="$
{c.publicize}" checked="${c.publicize}">
<input id="test-2" type="checkbox" name="test-2" value="$
{c.publicize}" checked="${c.publicize}">

this works till the user posts the form, and I create new elemenets
based on waht I retrieved  from formencode, since I just generate new
names and ids in ascending order, things get out of sync  on the front-
end.

I would like to know if FormEncode can also deal with randomly
generated values like: It states in the docs that missing number are
ignored, I just want to make sure.


<input id="test-13144427"
<input id="test-4245777"
<input id="test-2447700"

would I still be able to access the values with my existing code,
would they still be grouped?


thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to