Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Nick,
If you do not want to save posts (data) after submitting the form, I think you can create a simple form with HTML code to send the email to the user instead of using MB Frontend Submission.
Or delete the post after creating and use the setting
save_field, set it tofalseto prevent save field value.Long Nguyen
ModeratorHi,
Meta Box does not support editing the field value in the table list. You can use the plugin Admin Columns to do that https://www.admincolumns.com/
We also support an integration plugin to make it works with Meta Box https://metabox.io/plugins/meta-box-admin-columns-integrator/March 5, 2022 at 10:52 AM in reply to: ✅Something is not right with the shortcode on page ID: #34327Long Nguyen
ModeratorHi,
Can you please share some screenshots of the issue on your site?
Long Nguyen
ModeratorHi Tobias,
Yes, it is possible. You can refer to this topic to use custom code to update post title from field value https://support.metabox.io/topic/append-a-related-posts-title-to-the-title-of-created-post/
March 5, 2022 at 10:37 AM in reply to: ✅Ajax form resubmission after failed validation (causes invalid error message) #34325Long Nguyen
ModeratorHi,
Please share your site credentials via this contact form https://metabox.io/contact/. I will forward this to the development team to take a closer look.
Thank you.
March 5, 2022 at 10:28 AM in reply to: ✅How to Insert/Edit Relationship Field Manually? What's this Field ID? #34324Long Nguyen
ModeratorHi,
You can use the setting
fieldto customize the relationship field by using the code. Please read more on the documentation https://docs.metabox.io/extensions/mb-relationships/#syntaxor using the builder https://docs.metabox.io/extensions/mb-relationships/#field-settings
Long Nguyen
ModeratorHi,
The sanitization callback should be added under
groupfield settings, not subfield settings. Like this'fields' => [ [ 'name' => __( 'Group', 'your-text-domain' ), 'id' => $prefix . 'group_lotc08c5jb', 'type' => 'group', 'sanitize_callback' => 'linkValidation', // here 'fields' => [ [ 'name' => __( 'Text', 'your-text-domain' ), 'id' => $prefix . 'text_2t5ekhiu05p', 'type' => 'text', ], [ 'name' => __( 'Textarea', 'your-text-domain' ), 'id' => $prefix . 'textarea_y3kcunwdt1', 'type' => 'textarea', ], ], ], ],Then you can access the subfield value via element key
field_idfunction linkValidation($value) { $functInput = $value['text_2t5ekhiu05p']; $isHttps = strpos($functInput, 'https'); $isHttp = strpos($functInput, 'http'); $isHash = strpos($functInput, '#'); if($isHttps === 0 || $isHttp === 0 || $isHash === 0){ $isAny = true; } else{$isAny = false; } if($isAny == false): $value['text_2t5ekhiu05p'] = ''; endif; return $value; }March 5, 2022 at 9:46 AM in reply to: ✅How to translate custom field labels for different admin users languages ? #34322Long Nguyen
ModeratorHi,
I will check the possibility and get back to you later.
March 5, 2022 at 9:46 AM in reply to: How do I populate a relationship value based on the related post they select #34321Long Nguyen
ModeratorHi Yasmine,
Here is a demo record to include the relationship meta box in the frontend submission form https://monosnap.com/file/hqNFvpaWW0h5cbwV83tPmVnahzvJR2
And this form is a separate form, it is not possible to add it into another form.
Long Nguyen
ModeratorHi,
The ID 175 populated automatically from the post ID when you didn't add the setting title or add it after publishing the setting page. For now, you can use the helper function to get the value
{% set field = mb.rwmb_meta( 'ws-dp--hp_newsitem', { object_type: 'setting' }, 'Website' ) %} <b>Value: {{ field }}</b>Follow the documentation https://docs.metabox.io/extensions/mb-settings-page/#getting-field-value
I will inform the development team to check and fix the issue in this case.
Long Nguyen
ModeratorHi,
Can you please re-check this issue? I've changed the settings page ID from 175 to website and re-select the location of the field group to Website and it works in View. Screenshot https://monosnap.com/file/l7BFlJfyH8AVrWWEJOml9zHccfFWWM
Long Nguyen
ModeratorHi Nick,
You can add this setting
'save_field' => falseto the fieldpost_titleto avoid showing the error. The custom field will not be saved data to the database, just use to display the value from default post field.[ 'type' => 'text', 'name' => 'Title', 'id' => 'post_title', 'class' => 'dc-post-title', 'limit' => 50, 'required' => true, 'save_field' => false // This ],Regarding the error in bulk delete, I will inform the development team to support moving the CPT to the trash instead of using the filter. It should use to cover another case.
Long Nguyen
ModeratorHi Becky,
Can you please share some screenshots (full screen) when you edit two pages that have shortcodes: frontend submission and frontend dashboard?
It happens when viewing the frontend dashboard page without adding the ID of the frontend submission page in the shortcode.
https://docs.metabox.io/extensions/mb-frontend-submission/#user-posts-dashboardLong Nguyen
ModeratorHi,
You can follow this topic to use the filter hook to modify the code https://support.metabox.io/topic/change-forgot-password-field-label/
or use a translation plugin to translate the text
Get New Password, text-domain ismb-user-profileMarch 4, 2022 at 2:50 PM in reply to: How to display Image Advanced MB field in a FSE theme template/template part? #34300Long Nguyen
ModeratorHi,
Kadence Block is not compatible with Meta Box yet so it will not work to show the
image_advancedfield. You can try to use the fieldsingle_imageinstead.Or you can create your own block to show in the FSE theme template.
https://docs.metabox.io/extensions/mb-blocks/ -
AuthorPosts