Skip Navigation

[Resolved] Registering Users by front end form

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 3 replies, has 2 voices.

Last updated by Minesh 2 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2682481

Tell us what you are trying to do?
I want to register new users as subscriber and add extra fields from woocoommerc. I meet serveral issues.

1. I made a simple form and added to a page: hidden link
When you enter our values and hit Submit (verzenden) nothing happens. No new user in backend. No redirect to specific page.

2. How to I make a field required?
I found this:https://toolset.com/documentation/programmer-reference/forms/cred-shortcodes/#cred_field
But I am not sure how to use it. (Note: I already tried, but to be sure that problem 1 was not caused by this I used the most simple form to solve 1 first).

3. How do I add Woocommerce fields? I found this: https://toolset.com/forums/topic/woocommerce-fields-in-user-form/
But not sure if it is working because of problem 1.

Is there any documentation that you are following?
Yes: https://toolset.com/course-lesson/creating-forms-for-registering-users/

Is there a similar example that we can see?
No

What is the link to your site?
hidden link
The form is here: hidden link

I can sent you credentials to check.

#2682515

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Before you send me access details, Can you please double check you created the form as per the doc and also check for possible conflict and for that.

Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?
- Do you see any difference? If no:

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2682519

Hi Minesh, thank you for the answer. Q1 is solved. I have deactivated all unnecessary plugins. Used a standard theme. And creating an account now works.

So now Q2. To make some fields required. I use the expert mode of the form editor. And then:
<div class="form-group">
<label for="%%FORM_ID%%_first_name">[cred_i18n name='first_name-label']First name *[/cred_i18n]</label>
[cred_field field='first_name' class='form-control' output='bootstrap' required='true']
</div>
Code found here: https://toolset.com/documentation/programmer-reference/forms/cred-shortcodes/#cred_field
But if I leave the field empty, it still is submitted.
You can see it here: hidden link

New threads created by Minesh and linked to this one are listed below:

https://toolset.com/forums/topic/split-registering-users-by-front-end-form-make-required-field/

#2682543

Minesh
Supporter

Languages: English (English )

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

As per our support policy - we entertain only one question per ticket. This will help other users searching on the forum as well as help us to write correct problem resolution summery.

I will split the ticket with your Q2 and handle the issue there:
- https://toolset.com/forums/topic/split-registering-users-by-front-end-form-make-required-field/

You're welcome to close this ticket.

#2682857

Not really closed but splitted.

corineV confirmed that the issue was resolved on 2024-02-12 10:06:35.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.