Hello,
I have built a membership system using Toolset, but I need to be able to edit their form submissions on the back end after becoming members. In particular required fields. Is there an easy way to do this? The membership system is creating custom post types.
hidden link
Thank you.
Hello,
Please elaborate the question with more details?
How do you setup the "form submissions"?
What is the problem when you edit the "form submissions" in wordpress admin side?
What kind of easy way do you need?
I need to test and check it in my localhost, thanks
The forms are setup using Post Forms.
However, because some of the fields are required, I cannot make changes and save the Member post on the backend because of the required fields.
Does that make sense?
For the problem:
I cannot make changes and save the Member post on the backend because of the required fields.
Since it is a required field, you need to fill some values into the field, then you will be able to save the member post on the WordPress backend. If it does not work, then please provide detail steps to duplicate the same problem, I need to debug it in my localhost.
If you leave the required field empty, then you can not save the post, this is expected result.
Does this make sense?
More help:
https://toolset.com/documentation/user-guides/using-custom-fields/
Hi Luo,
Is it possible to edit the form on the front end and that the fields they already filled are complete?
My problem is that there are two membership types, individual and group. When editing on the back end, both individual fields and group fields are visible.
Let me know.
Please elaborate the question with more details:
Is it possible to edit the form on the front end and that the fields they already filled are complete?
How do you setup the custom fields? How do you setup the fields as "filled are complete"?
Please provide detail steps to duplicate the same problem, I need to test it in my localhost, thanks
Hi Luo,
Sorry for the delay.
I created a membership post type
I created custom fields for the membership post type
I created a post form using the membership custom fields
I embedded the from on a page on the front end
People fill out the form on the front end
Issue: Member information changes the next time I see them and I want to change it, but some fields are required.
Is that clear?
It is still not clear, as I mentioned above:
Since it is a required field, you need to fill some values into the field, then you will be able to save the member post on the WordPress backend.
https://toolset.com/forums/topic/editing-required-fields-on-the-back-end/#post-1095612
If the problem still persists, please try these:
please provide database dump file(ZIP file) of your website, also point out the problem page URL and field name, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
Hi Luo,
Because a person signing up to be a member starts by selecting whether they will be a individual or group member when they first sign up, they're are more required fields then need to be edited at the back end.
Individual and Group fields in the same post on the back end.
Would it make more sense to have 2 separate forms?
One for creating individual members and one creating group members?
My database dump file is too large. Can you recommend a file-sharing service that I can transfer it with?
Thank you.
You can use Google drive disk to share you database dump file
hidden link
and I need only a demo site data, I just need to know these:
1) How do you setup those required fields
2) How does this problem happen in your website:
I cannot make changes and save the Member post on the backend because of the required fields
Please provide detail steps to duplicate the same problem. thanks
Did you fill value in the required fields?
After you fill value in the required fields, can you save the post?
Database dump file
I cannot upload the file, which is the default. Can you please send a different private message?
1) How do you setup those required fields
Custom Fields
> Membership Fields
2) How does this problem happen in your website:
I cannot make changes and save the Member post on the backend because of the required fields
Please provide detail steps to duplicate the same problem. thanks
Members Custom Post Type
> Edit member
> Click update
> Can't update because of required fields that don't correspond with that member type. Individual or Group
Did you fill value in the required fields?
No, because they don'r belong to that member type. Individual or Group
After you fill value in the required fields, can you save the post?
I only need a downloadable URL for your database dump file, or you can provide a live test site with the same problem, also point out the problem page URL where and how can I see the problem:
I cannot make changes and save the Member post on the backend because of the required fields
As a workaround, you can use specify additional filters that control those required fields group display in admin side, for example:
1) Add a custom checkbox field "Edit Membership Fields" to post type "Membership"
hidden link
2) Edit the custom field group "Membership Fields"
hidden link
click "Settings for the fields group"-> click "Edit" button-> "Data-dependant" tab, add a condition: "Edit Membership Fields"=1, see screenshot edit-membership-fields.JPG
3) Test the result:
hidden link
You can save the post without filling the required field, and if you want to edit them, you can enable option "Edit Membership Fields", and fill all required fields, and save the post
Thanks Luo and sorry for the slow response.
I think it's almost there, but is there a way to only show specific fields when I click on "Edit Membership Fields"?
I'm asking, because I am not sure how clicking "Edit Membership Fields" is showing or hiding the Membership Fields panel.
Thank you.
Yes, it is possible, for example, you can try these:
1) Edit the custom field group "Membership Fields"
hidden link
in section "Settings for the fields group", remove previous "Data-dependant" settings
2) Edit each field, for example "Type de membre", in section "Conditional display", add a condition:
Edit Membership Fields = 1
You can setup same settings to other custom fields.
See the result here:
hidden link
More help:
https://toolset.com/documentation/user-guides/types-custom-fields-conditional-display/
For a specific post field in the group, click on Set condition(s) of the Conditional display section, in order to open the conditional display dialog box.