Skip Navigation

[Resolved] How to save checkbox custom field with CRED

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

Problem:
How to save checkbox custom field with CRED

Solution:
You can use custom code and set the checkbox value accordingly using CRED hook cred_save_data:

Relevant Documentation:
=> https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data

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

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

This topic contains 2 replies, has 2 voices.

Last updated by SenaC7422 7 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#554959
Screenshot_2.png

Tell us what you are trying to do?
- I am trying to show some options from wp-admin/post-new.php to the front end posting created by CREED, This option is important for my website because i want to give push notification to all app user (app created using apppresser)

Is there any documentation that you are following?
- no

Is there a similar example that we can see?
- not that i know of

What is the link to your site?
cbyma.org

#555016

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - as I understand, you want to set the checkbox field of push notification using CRED form - correct? if this is true:

You can use custom code and set the checkbox setting accordingly using CRED hook cred_save_data:
=> https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data

You can set the checkbox using "cred_save_data" hook accordingly.

#556934

Thanks,

This is solved.