Skip Navigation

[Resolved] Front End Form – User Profile Without Login/Password Fields

This thread is resolved. Here is a description of the problem and solution.

Problem:

I am working on a directory, and want to have a form that a user can fill out. Information would be displayed in a view with all similar users, and also on a detail profile page. The user would fill out a front end form one time to create their profile listing. They would have the ability to edit their profile listing via a link in their backend account page.

I do not want the user login/email/password included, so prefer that this is not a user form.

Solution:

You can try these:

https://toolset.com/forums/topic/front-end-form-user-profile-without-login-password-fields/#post-2289349

Relevant Documentation:

https://toolset.com/documentation/user-guides/views/filtering-views-query-by-author/

This support ticket is created 2 years, 9 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.46 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/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by chrisO-12 2 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#2289159

Tell us what you are trying to do?
I am working on a directory, and want to have a form that a user can fill out. Information would be displayed in a view with all similar users, and also on a detail profile page. The user would fill out a front end form one time to create their profile listing. They would have the ability to edit their profile listing via a link in their backend account page. I do not want the user login/email/password included, so prefer that this is not a user form.

I see how to build the CPT, custom fields, and form.

How do I have it so that they fill out the form one time, and then after that all they do is edit the form? I tried placing the form on their account page, but when submitted, it would be preferred that the form is no longer visible and only the edit link is there.

What is the link to your site?
development site - not visible yet.

#2289349

Hello,

You can try these:
1) Create a custom post type "user-profile"
2) Setup a post form for creating new "user-profile" post
3) Setup a post form for editing "user-profile" post
4) Setup the "detail profile" page, display a post view:
- Query "user-profile" posts
- Display only one item
- Filter by post author is same logged-in user
https://toolset.com/documentation/user-guides/views/filtering-views-query-by-author/
- In view's loop, display the editing form link of step 3)
https://toolset.com/course-lesson/front-end-forms-for-editing-content/
- If there isn't any item found, within shortcode [wpv-no-items-found]...[/wpv-no-items-found], display the post form shortcode of step 2), so user can create only one "user-profile" post

#2292089

Hello Luo,

I do not follow #4 in your reply. How is the shortcode [wpv-no-items-found]...[/wpv-no-items-found] entered? And where is it entered? What is the form shortcode?

Thank you.

#2292311

I was able to find this post with a reference to the shortcode - https://toolset.com/documentation/programmer-reference/forms/cred-shortcodes/#cred_form

I also see the field in the Loop Template (No Items Found Text), and was able to insert the form shortcode to make it work.

I would like to keep this post open for a couple of days as I work on this. I may have other questions.

Thank you.

#2292423

I have marked this thread as "Waiting for feedback" status, please update here if you still need assistance for it, thanks

#2298171

This works!
My issue is resolved now. Thank you!