Support » Fixing WordPress » Retrieve input form data

  • Hi,
    I am using the cimy user plugin, and have tried posting in their support area with no luck. I have a really simple question that I need help with.

    I have created a new user registration field called PHONENUMBER that shows up on the register page. I have a page where you can view all your account details and this PHONENUMBER field never contains any value when you enter it upon registration.

    I am sure that it’s to do with my form names and value parameters, but I have tried everything that I can think of.

    Here is the source for the registration field PHONENUMBER:

    <p id="cimy_uef_p_field_2">
    <label for="cimy_uef_2">Phone:</label>
    <input type="text" name="cimy_uef_PHONENUMBER" id="cimy_uef_2" class="cimy_uef_input_27" value="" maxlength="10" tabindex="24" />

    Here is the source for the page where I am trying to output this field:

    <div class="details_fields">
    <label for="email"><?php echo SPEC($GLOBALS['_LANG']['_tpl_myaccount27']) ?></label>
    <input type="text" name="form[cimy_uef_PHONENUMBER]" value="<?php get_cimyFieldValue($post->ID,'PHONENUMBER',true);?>" class="short right20" />

    Can anyone offer some help or tips please.

Viewing 1 replies (of 1 total)
  • Ok i forgot the echo and the $userdata->ID parts.

    This code will show the value but not allow me to edit it?

    echo get_cimyFieldValue($userdata->ID, 'PHONENUMBER'); ?>

    How could I allow this to change when i click submit button?

Viewing 1 replies (of 1 total)
  • The topic ‘Retrieve input form data’ is closed to new replies.