Hey all,ive made a dynamic form generator with validation and all its pritty cool, but ive encountered a bit of a nasty problem.
You see all the HTML objects names such as a textareas name are specified in variables such as $RowNam[x] = 'UserName'; which works cool. Problems start occuring as i try to pass variables from one step to another via hidden fields. Now my question is:
How do i call a hidden filed and have its value set to the value set inside the variables variable?!?! ah i know it sounds stupid but thats the onlyw ay to describe it :S
have a look at this
<input name="<?=$RowNam[$i]?>" type="hidden" value="$<?=$RowNam[$i]?>">
this producses something like this:
<input name="email" type="hidden" value="$email">
but i need $email to = whats actually in the variables $email !
please help me before my head explodes!!!!
thanks very much.