Skip Navigation

[Closed] Create lookup functionality for user profiles

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
- 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/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 1 year, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#2588273

Hello!
I'm hoping to get some help with figuring out how to accomplish a specific task with Toolset:

I'm creating a website focused on gardening (seeds, specifically), and users will be able to set up their profile with information about their location and climate zone, and that information will then be used throughout the site to help users find items and information relevant to them.

I would like to have a form field for users to enter their zip code and the site automatically populate 3 pieces of information: their USDA Hardiness Zone (numbered 1-13), the average first frost date, and the average last frost date.

I envision it functioning like:

User inputs zip code into a form field and hits submit.

The site then populates the following based on the zip code entered (I have the data saved in csv files):

Your Hardiness Zone: [ 9a ]
Your Average First Frost Date: [ October 29 ]
Your Average Last Frost Date: [ March 23 ]

That info needs to be saved to the user's profile. I noticed that conditional display is not available with user fields, so how might I go about setting this up?

Thank you!

#2588589

Hello,

Unfortunately, Toolset user view does not support custom search form.

As a workaround, you can store those custom fields in a custom post types, for example "user details", one user can have only one "user details" post, then setup custom search form to filter the "user details" posts:
https://toolset.com/course-lesson/creating-a-custom-search/

The topic ‘[Closed] Create lookup functionality for user profiles’ is closed to new replies.