I've added a couple fields into the member.inc.php (street2. etc) and the signup_multi.php and they are working successfully. However, I have added a couple more fields for just demographic data that very depending upon the subscription there signing up for. The fields show up in the signup form and in the membership information in the admin panel however the data isn't carrying across into the membership fields on submitting the form. Any ideas what i'm doing wrong using the following code in the signup_multi.php form? {if $smarty.request.price_group == 1 | $smarty.request.price_group == 2 | $smarty.request.price_group == 3 | $smarty.request.price_group == 4} <option value="OPT OUT" selected="0">Please Select</option> <option value="A">1</option> <option value="B">2</option> <option value="C">3</option> <option value="D">4</option> <option value="E">5</option> <option value="F">6</option> <option value="G">7</option> <option value="H">8</option> <option value="I">9</option> <option value="J">10</option> <option value="K">11</option> <option value="L">12</option> <option value="M">13</option> {/if}
I'm noticing that the last field 'concrete_system' is carrying across but only one option value even if multiple are selected.. the other one, above, just carries the default value as defined in the admin (add/edit fields) panel no matter what you select.
Diffrent approach according to manual it populates the select field but still won't carry the varibles over to the DB I get the default 'Array populating the field. I must be missing something? update i've got the following: member.inc.php: array('options' => $items = array( 'OPT OUT' => '0', 'A' => '1', 'B' => '2', 'C' => '3', 'D' => '4', 'E' => '5', 'F' => '6', 'G' => '7', 'H' => '8', 'I' => '9', 'J' => '10', 'K' => '11', 'L' => '12', 'M' => '13'))); $config['numbered_items'] = $items; signup_multi.php <select name="numbered" size="1"> {html_options options=$config.numbered_items selected=$smarty.request.numbered} </select>
For those of you looking for the solution to this post, thought I would post my resolution ---> Add array to config.inc.php not to member.inc.php for selection fields