Skip Navigation

[Resolved] Add field to user registration form for user_url

This support ticket is created 5 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 5 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#1236739

Tell us what you are trying to do? I am creating a user registration form and I want to include a field for the user_url with is already part of the wordpress database.

There's a shortcode for displaying the user_url in the profile but I can't add a field to any user form for editing the user_url field. It doesn't show up in the field controls either.

#1236800

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Yes, that's correct. There isn't a built-in option for the "Website" field, but I've a workaround that will help you to achieve what you looking for.

As a workaround, you can add a generic field for the user to input his website URL to your form.

For example:

[cred_generic_field field='user_url' type='url' class='' urlparam='' placeholder='<em><u>hidden link</u></em>;
    {
        "required":1,
        "validate_format":1,
        "default":"",
        "persist":1 
    }
[/cred_generic_field]

Moe info:
=> https://toolset.com/documentation/user-guides/inserting-generic-fields-into-forms/