Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
Is it possible to separate a form into tabs/sections on a front end form? e.g. step 1-4 (my details, billing, shipping payment)
It is possible. You can use the extension MB Tabs to create tabs for the custom fields to show on the frontend.
if it is then is it possible to validate each tab before allowing the user to progress to the next step/tab?
No, the MB Tabs extension does not support a button to jump to the next step/tab. You can create your own JS code to do that.
Long Nguyen
ModeratorHi,
I see the issue. You need to register the field
artiste_imagebefore the fieldfile_upload_okto show the admin column after the fieldartiste_image.function your_prefix_function_name( $meta_boxes ) { $prefix = ''; $meta_boxes[] = [ 'title' => __( 'Demande de résidence', 'your-text-domain' ), 'id' => 'cie-submit', 'post_types' => ['espace-cie'], 'fields' => [ [ 'name' => __( 'Description du projet de résidence', 'your-text-domain' ), 'id' => $prefix . 'description_du_projet_de_residence', 'type' => 'wysiwyg', ], [ 'name' => __( 'Image', 'your-text-domain' ), 'id' => $prefix . 'artiste_image', 'type' => 'image', 'admin_columns' => 'after title', ], [ 'name' => __( 'File Upload ok', 'your-text-domain' ), 'id' => $prefix . 'file_upload_ok', 'type' => 'file_upload', 'admin_columns' => [ 'position' => 'after artiste_image', 'title' => 'Dossier', ], ], ... ], ]; return $meta_boxes; }Long Nguyen
ModeratorHi,
You are right, the option value should be included only numbers, letters, and underscores (and rarely dashes). Some special characters will not be processed and saved.
Long Nguyen
ModeratorHi Sergio,
Please follow this article to understand our license system works https://metabox.io/meta-box-update-licensing-system/
Long Nguyen
ModeratorHi,
Thanks for your feedback.
We are still using jQuery code in some extensions and in the Meta Box plugin to use the jQuery extensions like date picker. Rewriting all the code by vanilla JS would take a lot of time but it is not impossible. You can send your feedback here https://trello.com/b/OCOz26GM/meta-boxs-public-roadmap
and the development team will consider adding it to the roadmap.November 24, 2021 at 9:06 PM in reply to: ✅Can't save location for custom field groups, always reverts to POSTS #32142Long Nguyen
ModeratorHi,
I have had an experience with a similar issue before, the way to resolve it is to create a new field group and assign the post type. Can you please confirm that works?
Long Nguyen
ModeratorH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Ljg2MywwLTEuNTYyLDAuNy0xLjU2MiwxLjU2MnY2LjU0SDcuNDFjLTAuODYyLDAtMS41NjIsMC43LTEuNTYyLDEuNTYzdjM5Ljc5NQ0KCQlDNS44NDgsODAuMjAxLDYuNTQ3LDgwLjksNy40MSw4MC45eiBNMzQuNDkyLDU3Ljg3NGgtMS43OTZ2LTYuNzY4aDEuNzk2VjU3Ljg3NHogTTI2LjU2MywzNC41NzRoMTQuMDU1djMuNDA2SDI2LjU2M1YzNC41NzR6DQoJCSBNMTAuNTQ0LDQyLjY3OGg0Ny4xNzN2MTEuOThIMzYuOTQydi00LjAwNmMwLTAuODYzLTAuNjk5LTEuNTYzLTEuNTYyLTEuNTYzaC0zLjU4MmMtMC44NjMsMC0xLjU2MiwwLjY5OS0xLjU2MiwxLjU2M3Y0LjAwNg0KCQlIMTAuNTQ0VjQyLjY3OHoiLz4NCgk8cGF0aCBkPSJNNjguNzM0LDgwLjloNDkuOTU4YzAuODA3LDAsMS40Ni0wLjY1MywxLjQ2LTEuNDZWMTcuNTM0YzAtMC44MDYtMC42NTMtMS40NTktMS40Ni0xLjQ1OWgtMTQuNTI0VjkuOTYxDQoJCWMwLTAuODA3LTAuNjUzLTEuNDYtMS40Ni0xLjQ2aC0xOWMtMC44MDcsMC0xLjQ2LDAuNjUzLTEuNDYsMS40NnY2LjExNUg2OC43MzRjLTAuODA3LDAtMS40NiwwLjY1My0xLjQ2LDEuNDU5Vjc5LjQ0DQoJCUM2Ny4yNzQsODAuMjQ3LDY3LjkyNyw4MC45LDY4LjczNCw4MC45eiBNODYuNjM4LDEyLjg5aDEzLjEzOXYzLjE4Nkg4Ni42MzhWMTIuODl6Ii8+DQo8L2c+DQo8L3N2Zz4NCg==Long Nguyen
ModeratorIt could be. You can try to save some fields to the custom table, if it works, you can follow this article to increase the PHP setting
max_input_varsto resolve this issue.
https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/Long Nguyen
ModeratorHi,
I do not see that issue on my end. Can you please share the code that creates the file upload field before and after re-ordering?
November 23, 2021 at 7:38 PM in reply to: Breadcrumbs Not Recognizing Parent/Sub Page Relationship (Only with CPT's). #32120Long Nguyen
ModeratorHi Mike,
Thanks for getting in touch.
MB Custom Post Type extension just helps users to create a new CPT visually instead of using the WordPress function register_post_type(). It does not do anything outside from the WP documentation.
Following the support discussion from Anh Tran with you via Facebook chat, I think the issue comes from the single page and archive post type page when they have the same slug. It relates to how did you set up the page and post type, not coming from the extension itself. You can also deactivate Meta Box plugins and register the post type by using the code and re-check the issue.
If you are feeling tough to customize your site, you can create a service request, our developers will help you with an extra fee.
Refer to our support policy https://support.metabox.io/topic/support-policy/
Long Nguyen
ModeratorHere is how it works on my end https://share.getcloudapp.com/llukWYRL
Long Nguyen
ModeratorHi,
The conditional logic works as well on my site, screen record https://share.getcloudapp.com/xQujoZyN
You can try to deactivate all plugins except Meta Box, MB extensions and switch to the standard theme of WordPress to re-check this issue.
Long Nguyen
ModeratorHi,
You can use the WordPress function to get the term link https://developer.wordpress.org/reference/functions/get_term_link/
Insert a field from the tab Insert Field only works on its location. Please read more here
https://docs.metabox.io/extensions/mb-views/#main-query
https://docs.metabox.io/extensions/mb-views/#custom-queryLong Nguyen
ModeratorHi,
Thanks, I see that. Please use the code instead of the builder. I will inform the development team to support this case in future updates.
November 23, 2021 at 11:20 AM in reply to: ℹ️It is possible to filter clonable nested group field? #32110Long Nguyen
ModeratorHi Hazmi,
In short, it is not possible. You can filter to the top group field only.
-
AuthorPosts