Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello Marc,
I think the WSForm looks into the database and lists the custom fields that have value on their plugin to map the form fields.
After creating a field group, you can just edit or create a new post, set some sample values and save the post to make fields available in the database.Related topic https://support.metabox.io/topic/gravity-forms-submissions-not-updating-user-meta/#post-22560
Peter
ModeratorHello Ger,
The issue happens because the view shortcode runs the frontend only. If you use Ajax, that means the shortcode is called in the admin area and it won't work.
We've fixed that issue and it will be included in the new version of MB Views.Peter
ModeratorHello Michele,
Can you please migrate your local site to an online staging site with the same environment and share the credentials so I can check the issue?
Peter
ModeratorHello Travis,
Please export the field groups on the site where the conditional logic doesn't work. I will import field groups on my site and see what happens there.
Please follow the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--importPeter
ModeratorHello,
You can use the filter hook
rwmb_frontend_dashboard_query_argsto add more arguments to the dashboard query and filter the posts.
Please follow the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#dashboardJuly 30, 2024 at 9:29 PM in reply to: Setting Field's Default Value Based on Another Field's Input #46052Peter
ModeratorHello Johnson,
There isn't an option to copy a field value to another field on live. You need to create custom Javascript to do that.
If you want to update another field value after saving the post, you can use the action hook "rwmb_after_save_field". Please follow the documentation https://docs.metabox.io/actions/rwmb-after-save-field/Peter
ModeratorHello Yasmine,
According to some recent topics, I understand you want to create a multi-step frontend form. But currently, this feature is not supported. If you are struggling with JS code on your site, we offer a customization service with an extra fee. Please contact us here for more details https://metabox.io/contact/
Regarding the tab field, it only works as a top field, not a subfield in a group. So I recommend simplifying your frontend form and using the tab field with other fields.
July 29, 2024 at 11:04 PM in reply to: ✅Changelog for Metabox AIO hasn't been updated since 1.27.0 #46045Peter
ModeratorHello Tom,
Can you please clear the cache and recheck the changelog entries? They are displayed on the changelog page as well, see this screenshot https://imgur.com/3Ii3agH
Peter
ModeratorHello,
Meta Box doesn't support a function to get the parent of the current post.
You can use another WordPress function to get the post parent https://developer.wordpress.org/reference/functions/get_post_parent/
or simply get the current post object and access the attribute
post_parent
https://developer.wordpress.org/reference/classes/wp_post/Peter
ModeratorHello Mathew,
If you don't want to show or get the raw secret keys, you can use the field password to hash the value and save the hash to the database. It works like a user password or the consumer_key Rest API key of WooCommerce.
Once it is encrypted, it won't be decrypted. You can only use the WP function to check the key.
https://docs.metabox.io/fields/password/Otherwise, you should use a simple text field to save the key.
Peter
ModeratorHello,
What steps throw the error on your site? Is this the last step?
Updating metabox fields and relations through WordPress API.If yes, can you share some screenshots or code that you use to update the meta box fields? And let me know the post type which has the custom field that you are trying to update.
Peter
ModeratorHello Travis,
WordPress itself doesn't support adding a shortcode to the menu. You can try to use a third-party plugin to insert the shortcode to the menu item https://wordpress.org/plugins/shortcode-in-menus/
July 28, 2024 at 3:15 PM in reply to: White screen of death on some pages with views after updating #46032Peter
ModeratorYes, please separate the view template or use another WordPress function to get the post term
https://developer.wordpress.org/reference/functions/wp_get_post_terms/July 27, 2024 at 7:37 AM in reply to: ✅post-field: relative path, text-field: html not working #46026Peter
ModeratorHello,
1. The post field saves the post ID to the database. You can get the raw field value (post ID), and get a relative path based on the ID. Following the WordPress documentation https://developer.wordpress.org/reference/functions/wp_make_link_relative/
2. Please bypass the sanitization to add HTML tags to the text field
https://docs.metabox.io/sanitization/#bypass-the-sanitizationJuly 27, 2024 at 7:27 AM in reply to: ✅image_advanced data not stored as multiple rows in database anymore #46025Peter
ModeratorHello,
The field image_advanced still saves multiple images in multiple rows to the database.
- If you enable the option cloneable and "clone as multiple", the field value will save an array of images per clone in the database.
- If you disable the option "clone as multiple", all images will be saved in one row.I hope that makes sense.
-
AuthorPosts