• Resolved Pranjal Shukla

    (@pranjalshukla432)


    I created a custom field by code using hook “user_registration_handle_form_fields” and “user_registration_after_field_row”, but and a extra checkbox field added to the form and showing before submit button, but when i process that form using print_r($_POST), then that field key does not appear in the form, please help me how can i make a field which key appear in the form so i can use that whole form.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Saroj Shah

    (@wpeverestsupportrep)

    Hi @pranjalshukla432

    Thanks for writing in,

    We have forwarded this ticket to our developers. They will get back to you as soon as possible.
    Also, we are sorry for the late response.

    Regards!

    Saroj Shah

    (@wpeverestsupportrep)

    Hi @pranjalshukla432

    Thanks for writing in,

    Would you please provide us the registration URL of the site? We will then check and get back to you as soon as possible.

    Regards!

    Thread Starter Pranjal Shukla

    (@pranjalshukla432)

    Hi @wpeverestsupportrep

    Thank you for your response,

    actually i was implementing it on my local , so can’t be able to provide you the registration url.

    wpold you please tell me how to access the form data keys which are also fields like i get the form data as follows:

    [{\”value\”:\”[email protected]\”,\”field_type\”:\”email\”,\”label\”:\”User Email\”,\”field_name\”:\”user_email\”},{\”value\”:\”rgdrtfh\”,\”field_type\”:\”password\”,\”label\”:\”User Password\”,\”field_name\”:\”user_pass\”}]{“success”:true,”data”:{“username”:””,”auto_login”:true,”success_message_positon”:”1″,”form_login_option”:”auto_login”}}

    when i submit the form then i receive all this on form_data key, please help me to access the values of the field inside of this.

    Thank you.

    Regards!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding a Custom field by code in a form’ is closed to new replies.