-
Maybe this is simple and I’m just missing it, but…
Is there any way to place some static text in a registration / edit profile form, to help the user out? I know there is the help text tooltip, but I would like something that displays at all times.
Thanks
Hey,
Yes, You can customize your own version of registr.php and edit.php by creating the layouts in your theme folder (Copy templates/edit.php in your userpro plugin to yourtheme/userpro/edit.php to your root folder. this is only for example) and start editing the template sections and other things you want it.
do you need more help about that ?
Hope helped,
RegardsWell I would like this custom text to appear only inside of a Section/Seperator that I have added to the form. Is it possible to do this inside of the php files?
Hey,
right now, there isn’t a description help text to show a custom text below the field by default or simple text area ( not Textarea field ) to do what you want.
I hope Ahmad consider that and add Description field or Label field type so this problem will solve, but for now you can do this:
1. Click on
Add new filed
.
2. useSpace
for field title,Text Input
for field type,Description Help text
for unique field key.
3. Click on publish.
4. Drag ‘n Drop the field below the section you wanna to show the new help text.
5. enter your text on Placeholder field and leave other fields empty.after finishing these steps, your example, your registration form should looks like this:
ok, now you should do some CSS editing.
1. go to your Userpro skins and open style.css you’re using currently.
2. Add this codes at the end of codes:PHP1234567891011121314div[data-key^=Description] {margin: 0 !important;}div.userpro-input input[id^=Description] {pointer-events: none;cursor: default;border-radius: 0 !important;background: none transparent !important;box-shadow: none !important;border: none !important;font-size: 12px !important;}after finishing these step you will got something like this:
Also it is important to use Description with capital
D
both on css and adding the field.BUT !!!!!!!!
it is only a solution for now, but not a global solution. so please ask Ahmad for this feature.NOTICE:
the input text type fields, hide text with long length. so you should be careful about the length of your text. except, it will hide it and visitors cannot see it. but it has a solution too. if you’d like to know, i can help you to make this field advanced.Also:
i’m preventing to add new function because it could be lost on updates or make conflict between theme or plugin and the fields. so it’s better Ahmad do that by himself not us. but it’s possible and absolutely better 🙂Hope helped,
Regards
You must be logged in to reply to this topic.