$return['mapped_data'] = runFilterChain('register_must_fillout', $return['mapped_data']);
// Add missing elements
- $return['mapped_data']['gender'] = NULL;
- $return['mapped_data']['birthday_selection'] = generateDayMonthYearSelectionBox($return['mapped_data']['birth_day'], $return['mapped_data']['birth_month'], $return['mapped_data']['birth_year']);
+ $return['mapped_data']['gender'] = NULL;
+ $return['mapped_data']['birthday_selection'] = generateDayMonthYearSelectionBox($return['mapped_data']['birth_day'], $return['mapped_data']['birth_month'], $return['mapped_data']['birth_year']);
+ $return['mapped_data']['status'] = bigintval(getRequestElement('status'));
+ $return['mapped_data']['challenge'] = getRequestElement('challenge');
+ $return['mapped_data']['__challenge_response'] = getRequestElement('__challenge_response');
// Display form
loadTemplate('guest_wernis_registration_form', FALSE, $return['mapped_data']);
<div align="center">
-{%form,formMethodPost,formNameRegister=modules.php?module=index&what=register%}
+{%form,formMethodPost,formNameRegister=modules.php?module=index&what=register&provider=wernis&status=$content[status]&challenge=$content[challenge]&__challenge_response=$content[__challenge_response]%}
<input type="hidden" name="registration_provider" value="register" />
<table border="0" cellspacing="0" cellpadding="0" width="640" class="table dashed">
<tr>