I would like to create a form (like the subscriber profile) that only a specific subscriber can fill-out and edit. For example, the subscriber wants to fill out Forms A and submit it. He can later make changes to Form A if he wants. He should be able to find the display and edit versions of Form A by clicking a link called "Form A" and/or "Edit Form A," respectively."
Is there any documentation that you are following? I cannot find the documentation for this.
Hello. Thank you for contacting the Toolset support.
Well - you can control the user profile based on role not for a specific user. So, if a user have specific role - you can allow him to create the profile or edit the profile.
Applying the CRUD approach, I am still trying to create steps where a subscriber can easily create a form submission, read what they submitted on a details page, and later go back and edit it. The following is a 2-minute video explaining what I already did and what I still need to build so there is no confusion:
Video: hidden link
Please note that I can do this myself with regular coding. However, I am trying to see if Toolset can do this for me. I want to hand projects like this off to a team member that may not know how to code well.
Ok - what you need is basically a details page that shows the all the values submitted and at top of the details page you need Edit form link.
So, you should create a details page that displays all the information submitted to form and with form settings you can chose the page from "What to show after submitting the form: " setting and select "Go to a Page" and select the page where all information is displayed.
You need to pass the post ID on details page to identify for which post ID the information show be displayed, you should use the Form hook cred_success_redirect
add_filter('cred_success_redirect', 'custom_redirect',10,3);
function custom_redirect($url, $post_id, $form_data)\{
if ($form_data['id']==99999){
return '<em><u>hidden link</u></em>'.$post_id;
}
return $url;
}
This is good information that unfortunately does not answer the question. I specifically said that I already know how to code. The end game was to pass "projects like this off to team members that MAY NOT know how to code well." I needed to know if I could do this.
So, this was more of a "yes" or "no" questions where I believe the answer is "no."
However, I will use the information you gave me above to correct a few things on my already existing details page and to design an edit page. However, Toolset is still too roundabout with solutions if I have to create 3 pages and a post type. There are still too many confusing steps and moving parts for a process that may not exist in three years.