Skip Navigation

[Resolved] Custom field in the form not listed as option to product

This support ticket is created 5 years, 11 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.

Our next available supporter will start replying to tickets in about 1.61 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 4 replies, has 2 voices.

Last updated by serenus 5 years, 11 months ago.

Assisted by: Waqar.

Author
Posts
#1176700

I have a user form to create a new user (subscriber role) including a generic 'select' field with various subscriptions options and their related product ids.

When I go to the "Product to buy when submitting the form" section, the custom field does not list the custom field. I have created multiple radio or select generic fields and none show.

The form works well with 'Always this product, regardless of form inputs' but I don't want to create one registration form per subscription level.

#1176704

Hi,

As discussed, please share the temporary admin user account details in reply to this message, along with the link to the form.

Your next reply will be private so that only you and our support team will have access to it.

Note: Please make a complete backup copy of your website, before sharing the access details.

regards,
Waqar

#1176706

Hi there,

Thank you for sharing the details, but unfortunately, I'm getting "Invalid username" message.

Can you please check the username and password again?

Your next reply will be private as well.

#1176716

Hi Serenus,

The login information worked, thank you.

I noticed that the user form "WOAW registration form" only includes a generic field for the product selection and no actual custom field.

Since the generic fields are virtual fields, which are not saved in the database, they are not shown in the drop-down next to "The form specifies the product according to the value of this custom field".

To make this work, you can add a new custom user field ( ref: https://toolset.com/documentation/user-guides/user-fields/ ) at WP Admin -> Toolset -> Custom Fields -> User Fields (tab), similar to this screenshot:
hidden link
(please make sure to use "Select" or "Radio" type field)

Once created, you can add that new field in the form, using the "Add Fields" button.
( screenshot: hidden link )

After that, click the refresh icon and the field should be available.
( screenshot: hidden link )

I hope this helps and please let me know how it goes.

regards,
Waqar

#1176739

My issue is resolved now. Thank you!