I want to add radio button in this registration form... PLZZZZ HELP

I want to add one radio button in registration from of VAT Customer… and I dont know php… please help…
This is Radio button Text"I confirm that the information given above about my condition is correct and I hold a registered UK disabled badge valid on the date of purchase.*"
http://mobilityequipmentshop.co.uk/register/
Here is the form

<?php if(is_wp_error($error) && method_exists($error, 'get_error_code')) { $anyerrors = $error->get_error_code(); if( !empty($anyerrors) ) { // we have an error - output $messages = $error->get_error_messages(); $errormessages = "
"; $errormessages .= implode('
', $messages); $errormessages .= "
"; } else { $errormessages = ''; } } else { $errormessages = ''; } ?>
<?php if(!empty($errormessages)) { echo $errormessages; } ?>
<?php do_action( "signup_hidden_fields" ); ?>

<input type='hidden' name='subscription' value='<?php if(isset($_REQUEST['subscription'])) echo esc_attr($_REQUEST['subscription']); ?>' />

<fieldset>
	<legend><?php _e( 'Create an Account', 'membership' ) ?></legend>

		<div class="form-element">
			<label class="control-label" for="user_login"><?php _e('Choose a Username','membership'); ?></label>
			<div class="element">
				<input type="text" class="input-xlarge" id="user_login" name="user_login" placeholder="" value="<?php if(isset($_POST['user_login'])) echo esc_attr($_POST['user_login']); ?>">
			</div>
		</div>

		<div class="form-element">
			<label class="control-label" for="user_email"><?php _e('Email Address','membership'); ?></label>
			<div class="element">
				<input type="text" class="input-xlarge" id="user_email" name="user_email" placeholder="" value="<?php if(isset($_POST['user_email'])) echo esc_attr($_POST['user_email']); ?>">
			</div>

			<p class="help-block"><?php _e('Please enter a new password, and then verify your new password by entering it again.','membership'); ?></p>
		</div>
		<div class="form-element">
			<label class="control-label" for="user_email"><?php _e('Password','membership'); ?></label>
			<div class="element">
				<input type="password" class="input-xlarge" id="password" name="password" placeholder="" autocomplete="off">
			</div>
		</div>

		<div class="form-element">
			<label class="control-label" for="user_email"><?php _e('Confirm Password','membership'); ?></label>
			<div class="element">
				<input type="password" class="input-xlarge" id="password2" name="password2" placeholder="" autocomplete="off">
			</div>

			<p class="help-block"><?php _e('Hint: The password should be at least 5 characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ &amp; ).','membership'); ?></p>
		</div>

	<?php
		do_action('membership_subscription_form_registration_presubmit_content');

		do_action( 'signup_extra_fields', $error );
	?>

	<p><input type="submit" value="<?php _e('Register My Account &raquo;','membership'); ?>" class="alignright button <?php echo apply_filters('membership_subscription_button_color', 'blue'); ?>" name="register"></p>
	<input type="hidden" name="action" value="validatepage1" />

	<a title="Login »" href="<?php echo wp_login_url( add_query_arg('action', 'registeruser', get_permalink()) ); ?>" class="alignleft" id="login_right"><?php _e('Already have a user account?' ,'membership'); ?></a>


	</fieldset>
<?php ?>

I’m not good with Wordpress, I know they have a lot of built-in functionality to do things, but I can probably answer half of your question…

Adding a radio button, is simple, but I think you’re looking for a Check Box to be honest. Since you’re asking the person to check a box to confirm.

You’ll place this code where ever you want the checkbox to show up.

[php]I confirm that the information given above about my condition is correct and I hold a registered UK disabled badge valid on the date of purchase.*[/php]

Then you have to use wordpress validation functions to check to see if it’s checked, that’s the part I have no clue how to do.

Sponsor our Newsletter | Privacy Policy | Terms of Service