On the registration form, can I place a link to the "Terms" page

I’m using S2Member Pro, with Stripe Pro Forms.
I want users to have a link to the “Terms” page, so that they are given a chance to read and accept the terms and conditions, before paying and registering as members.
I tried to change the “description” on the registration form but I got this message:

“Invalid form configuration. Your “desc” (Description) attribute must be <= 100 characters long.”

I just wanted to add this:
“By joining you agree to the Terms and Conditions”

any ideas on how to communicate this or a link on the form?

Try to find a good hook and print your text and link on the form. Sorry, can not say which hook exactly will do the job.

Thank You for the reply Krum. I have limited knowledge of PHP, I don’t know if I can pull this off, but I will look into that. If you can provide any details such as which files or folders I should look into would be helpful.

Really difficult to show you exactly code, but should be something like this:

function my_Terms_and_Conditions($code, $vars) {
# Change the form's HTML
  return $edited_code;
}
add_action('ws_plugin__s2member_pro_sc_stripe_form', 'my_Terms_and_Conditions');

The $code var will have the HTML of the form before to show it to the screen, so you can add almost anything.

1 Like

Thanks I will take a look.