Skip Navigation

[Assigned] required fields in frontend forms only

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.

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 4 replies, has 1 voice.

Last updated by jensH-2 2 days, 21 hours ago.

Assisted by: Minesh.

Author
Posts
#2825351

*** Tell us what you are trying to do?

I have several product categories and each of them has it´s own frontend form to add/edit a product (unpublished status afterwards). Depending on the category there are different fields and some of them are required. When I want to publish a product in the (WooCommerce) backend I have to fill out ALL the required fields from EVERY category.

That´s why I was wondering, if there´s a feature now for required fields in frontend forms only. Or maybe there´s another way to accomplish, what I need. Any idea is very welcome!

*** Is there any documentation that you are following?

I have seen similar feature requests. And one possible solution, but the link (last one) just leads to a 404 page now.
https://toolset.com/forums/topic/required-fields-in-front-end-forms-2/
https://toolset.com/forums/topic/required-fields-in-front-end-forms/
https://toolset.com/forums/topic/cred-how-to-make-fields-required/#post-195708

***Is there a similar example that we can see?
***What is the link to your site?

It´s not public. But I could make a copy of the frontend form available, if that helps.

Regard,
Jens

#2825412

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please tell me what fields you want to make it as required on frontend forms and send me problem URL where I can see the form as well as admin access details.

*** 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.

#2825458

Minesh
Supporter

Languages: English (English )

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

Currently - when I submit the forms I can see other fields are also required.

Do you mean you only want to set only the following fields as required field on your form:
Hersteller (line 150)
Produktionsjahr (line 154)
Einbaujahr (line 158)

Or you mean, you want to add above fields as required including what you have already set as required?

#2825487

As soon as I know how it works, I want to set all fields that are required now in this form to "required only in frontend". So there will be only fields that are required only in frontend, none required in the backend.

#2825779

If it helps to showcase a possible solution, let´s say I just want these fields as required fields (only frontend) on my form:

Hersteller (line 150)
Produktionsjahr (line 154)
Einbaujahr (line 158)

Do you need any other details?

Regards,
Jens