Page 1 of 1
Adding plain text to registration forms
Posted:
December 11th, 2011, 9:09 am
by philipt18
When creating the custom registration form, how can I add plain text to the form, to see something like 'By registering for this site, you agree to...' before the person presses the button at the bottom? Basically I want to add plain text without any form field to enter data into...
Thanks.
Re: Adding plain text to registration forms
Posted:
December 11th, 2011, 9:52 am
by philipt18
Another question is if there is a way to add explanatory information before or after a field, like if using a multi-select box, to explain that you need to Control-Click (Windows) or Command-Click (Mac) to select more than one option?
Re: Adding plain text to registration forms
Posted:
December 13th, 2011, 3:40 pm
by philipt18
No one know if this is possible?
Re: Adding plain text to registration forms
Posted:
December 15th, 2011, 5:04 am
by Cristián Lávaque
philipt18 wrote:When creating the custom registration form, how can I add plain text to the form, to see something like 'By registering for this site, you agree to...' before the person presses the button at the bottom? Basically I want to add plain text without any form field to enter data into..
This thread should help:
viewtopic.php?f=36&t=2778philipt18 wrote:Another question is if there is a way to add explanatory information before or after a field, like if using a multi-select box, to explain that you need to Control-Click (Windows) or Command-Click (Mac) to select more than one option?
In the custom field's label, I think you can add HTML. E.g.
- Code: Select all
Favorite Colors<br /><span style="font-size: smaller !important;">Control-Click (Windows) or Command-Click (Mac) to select more than one option</span>
I hope that helps.
Re: Adding plain text to registration forms
Posted:
December 15th, 2011, 6:16 am
by philipt18
Thank you. I'm not sure what I am looking for is in that post, however. All a want is a plain text box not linked to any form element. I just want explanatory text, not linked to a paypal button or anything else. I don't want the person to have to press an extra button, I want the registration itself to be the agreement to the terms I list. In other words, I just want a paragraph to be shown after all the form elements and before the submit button at the bottom. Thanks.
Re: Adding plain text to registration forms
Posted:
December 16th, 2011, 10:11 am
by kayakDave
I have exactly the same question. I don't want to add a registration field. I just want to add descriptive text. Is that possible?
Re: Adding plain text to registration forms
Posted:
December 17th, 2011, 5:23 am
by Cristián Lávaque
Ah, I see. I guess you could use a textarea field and add an HTML attribute to prevent editing.
Form Field Type: Textarea
Allow Profile Edits: No (uneditable & totally invisible after registration)
Other Attributes: disabled="disabled"
This would be saved as a custom field for all accounts, though.
I know how to add text without it being a custom field, but it'd be after the submit button. WP Admin -> s2Member -> General Options -> Login/Registration Design -> Footer
I hope this helps.
Re: Adding plain text to registration forms
Posted:
December 24th, 2011, 5:59 pm
by philipt18
Thank you for your help. This almost works, but there is a problem. The textarea doesn't show the whole text, but makes the user drag it to show everything. This kind of defeats its purpose. Is there a way to insure it shows all the text? Thanks.
I really hope a real non-field text insertion is available in a future version, as this is an odd work-around. I know other member plug-ins allow this.
Re: Adding plain text to registration forms
Posted:
December 26th, 2011, 5:38 am
by Cristián Lávaque
I'll notify Jason of your request for this.
Well, you can alter the textarea with CSS or HTML attributes when you define the custom field.
I hope that helps.
Re: Adding plain text to registration forms
Posted:
December 26th, 2011, 7:40 pm
by Jason Caldwell
philipt18 wrote:Another question is if there is a way to add explanatory information before or after a field, like if using a multi-select box, to explain that you need to Control-Click (Windows) or Command-Click (Mac) to select more than one option?
When you create Custom Registration/Profile Fields with s2Member, you are free to use HTML in the description field. See attached screenshot please.
If you want just a dummy field, that is NOT actually POSTd by the form, you can add the disabled attribute yourself. See:
http://www.w3schools.com/tags/att_input_disabled.aspSee also (readonly):
http://www.w3schools.com/tags/att_input_readonly.aspOr, if you're running s2Member Pro Forms, you have access to the actual template files if you prefer.
Is it possible to modify the PayPal® and/or Authorize.Net® Pro Form templates?
Usually not necessary. But yes, if you really need to. Please check your /s2member-pro/includes/templates/forms/ directory. You can take the default templates, and place some ( or all of them ) into your own WordPress® theme directory. s2Member Pro will automatically find your custom templates there. By placing custom templates into your theme directory, you can be sure they won't get overwritten in a future upgrade. Either that, or you can just use the default templates like they are, and customize them with your own CSS rules inside the Stylesheet for your WordPress® theme ( i.e. style.css ). If you're using a PriMo Theme ( for instance, the s2Clean Theme ), check your Theme Options Panel, under: Custom CSS / Style Sheet.