Is it possible to pass a form input variable value from the sign up/registration page ?

I would like to put fields like "Sign up to our newsletter" checkbox on the registration page, and perhaps something like "I have read and agree with all the terms of the site" checkbox.

Is there a way I can pass the data from these input fields and for example be able to access those in a
oa_social_login_action_after_user_insert hook?

I did not see anything about this in the examples.

Regards,
Gus

Best Answer

  • Claude_SchlesserClaude_SchlesserAdministratorOneAll Team
    edited January 2017 Answer ✓
    Hi Gus,

    we are currently working on a new feature where you can setup a "Terms and conditions" page directly in your OneAll account.

    For the newsletter what you can do is this:

    When the user checks "Sign up to our newsletter" you add a GET parameter to the callback_uri and you rebuild the Social Login icons (do_render_ui). This value will then be able in the $_GET parameters in your callback script.

    Welcome!

    Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

    Please click on the link below to connect to the forum with your OneAll account.