Checkbox field type: (multiple choices)

CHECK BOX TYPE FIELD

<tr>
<th><label for="dnp_cklist">DNP Options</label></th>
<td><input type="checkbox" name="Do not publish my phone in the printed directory" <?php if('on'==esc_attr(get_the_author_meta('dnp_cklist',$user->ID ))) echo 'checked="checked"'; ?>/> Do not publish my phone in the printed directory<br />
<input type="checkbox" name="Do not publish my age in the printed directory" <?php if('on'==esc_attr(get_the_author_meta('dnp_cklist',$user->ID ))) echo 'checked="checked"'; ?>/> Do not publish my age in the printed directory<br />
<input type="checkbox" name="Do not publish my phone in the members area" <?php if('on'==esc_attr(get_the_author_meta('dnp_cklist',$user->ID ))) echo 'checked="checked"'; ?>/> Do not publish my phone in the members area<br />
<input type="checkbox" name="Do not publish my age in the members area" <?php if('on'==esc_attr(get_the_author_meta('dnp_cklist',$user->ID ))) echo 'checked="checked"'; ?>/> Do not publish my age in the members area<br />
<input type="checkbox" name="Do not list me at all in the members area" <?php if('on'==esc_attr(get_the_author_meta('dnp_cklist',$user->ID ))) echo 'checked="checked"'; ?>/> Do not list me at all in the members area <br />
<input type="checkbox" name="List everything in both directories" <?php if('on'==esc_attr(get_the_author_meta('dnp_cklist',$user->ID ))) echo 'checked="checked"'; ?>/> List everything in both directories<br />
</td>
</tr>

Static Fields

STATIC FIELD

I also wanted to make some static fields, e.g. Join Date, so the user could not change the automatically generated data:

Saving Entered Data

Don’t forget to put the function to save the data in the custom field:
Just because we’re displaying these extra fields, doesn’t mean they’ll be saved when the user profile is updated. So, we need one more function to handle this. Drop this PHP code in your theme’s functions.php file.Justin Tadlock’s code

This part of the php says “check to see if there is something in the field”

if(isset($_POST['joindate']))

Alternately: John King has a Utube video on this subject with mostly the same information. Additionally, he includes how to add your new fields to a Gravity Forms Registration form.

Genesis Coach

Genesis Themes are my tool of choice for developing a website.

If you are working with a Genesis Theme and need help customizing, or just learning how Genesis works, I would love work with you.

Genesis is a WordPress Framework that has many built in features lacking in other WordPress Themes. The code is clean, secure and reliable.
Genesis Framework has a majority of users across WordPress Themes, and great tech support.