The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Using a for loop with an array?
Hi,
I'm having problems validating radio options from a form, before entering into the database. Because the names of the radio options change depending on the row id. I put my validation into a for loop, but it didn't work - nothing was posted from the form. PHP Code:
gender_{vb:raw id} free_{vb:raw id} active_{vb:raw id} id changes for each row pulled from the database, so we'll have Code:
HEADER Row 1: gender_1 | free_1 | active_1 Row 2: gender_2 | free_2 | active_2 Row 10: gender_10 | free_10 | active_10 If I use PHP Code:
Thanks in advance for your help. Iain |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|