Topic: what gets passed using xajax.getformvalues

i have a form with only 30 radio buttons differenct id but with all the same names.  i want to save the selected id and value in a session array.  This form maybe called 10 times or more with same id but different values in each form.  Maybe i can use php array_push and array_pop of some javascript. not sure...

Can someone show me the best way to do this?

Re: what gets passed using xajax.getformvalues

Hello marshallberg,

in order of the best way to handle forms the input name is the primary field to hold the connectivity as key & value pair.
the attribute id is used for the "frontend" DOM

Why you don't switch when generating the input fields the name with the value?

otherwise you can can read per javascript childNodes and create an simple for() loop

<div id="iam_the_parant">
<inp ..... radio block
</div>

Re: what gets passed using xajax.getformvalues

Hi

I need both the id and value