Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
Only the pair
field_id = field valuewill be passed to the admin-ajax, screenshot https://share.getcloudapp.com/4gu1pgyY.So it's not possible to check the post ID of the post sending remote validation in PHP.
Long Nguyen
ModeratorHi,
Thank you for your suggestion.
I'm going to inform the development team to add this to the backlog development. For now, you can use this simple jQuery code to add the HTML attribute to the date field.
jQuery(document).ready(function($) { $('input#field_id').attr('autocomplete', 'off'); });Long Nguyen
ModeratorHi,
MB Frontend Submission is a premium extension so we only allow our developers to access the Github repository. Thanks for your idea, I will inform the development team to add some filter hooks to modify the extension.
Long Nguyen
ModeratorHi,
Thank you for your reporting.
I’m going to inform the development team to check this case and create an update to cover it.
March 10, 2021 at 9:21 PM in reply to: ✅First Name and Last Name are not getting copied to user data #24826Long Nguyen
ModeratorHi,
I think you can use a third-party plugin to let users verified their emails to make sure they have access to that emails. For example:
https://wordpress.org/plugins/user-verification/
https://premiumwpsupport.com/product/wp-email-verification/March 10, 2021 at 8:46 PM in reply to: ✅First Name and Last Name are not getting copied to user data #24822Long Nguyen
ModeratorHi,
By default, the register shortcode has the field email to check if the email is existed or used by another user. The field has ID
user_emailthat you can see here https://docs.metabox.io/extensions/mb-user-profile/#edit-default-fields.Long Nguyen
ModeratorHi Jonathan,
Thank you for reaching out.
What do you mean "Moving the (quite long) meta_value for that post_id/meta_key to another post_id/meta_key doesn’t result in the metabox being filled out in the new post (no data)"?
I've tested on my local site to copy the meta value from a post ID to another post ID that has the same meta key and it filled out in the new post as well.
Can you please share the code that creates the meta box and some screenshots of the issue? I will re-check it on my end.
Long Nguyen
ModeratorHi Orice,
There was an issue with MB Frontend Submission before and it has been fixed. Refer to this topic: https://wordpress.org/support/topic/rwmb-is-not-defined/.
So please try to switch to the default theme of WordPress (Twenty TwentyOne) to avoid some customization scripts code break the JS. If this error still persists, please try to update the newest version of Meta Box and MB Frontend Submission to resolve.
Let me know how it goes.
March 10, 2021 at 10:18 AM in reply to: ✅Passing dependency-callback to Validation `required` #24807Long Nguyen
ModeratorHi Austin,
The Validation also supports
remotesetting. You can use it to validate the input value with your own PHP function. It only accepts returned value true/false.
https://docs.metabox.io/validation/#validation-with-jquery-validation-pluginRefer to this topic https://support.metabox.io/topic/validation-for-data-uniqueness/.
March 10, 2021 at 9:45 AM in reply to: ✅First Name and Last Name are not getting copied to user data #24806Long Nguyen
ModeratorHi Eddy,
It's the feature of WordPress to check the existing email when registering a user. We can create new fields with the pre-defined ID to re-use that feature.
Read more on this documentation https://docs.metabox.io/extensions/mb-user-profile/#edit-default-fields.
March 9, 2021 at 9:08 PM in reply to: ✅Disabling Edit Button for Custom Post in the Frontend Only #24798Long Nguyen
ModeratorHi Martin,
You can use the function is_admin() to check if you are viewing the admin dashboard.
function wpse_remove_get_edit_post_link( $link ) { if ( is_admin() ) return $link; return null; } add_filter('get_edit_post_link', 'wpse_remove_get_edit_post_link');Long Nguyen
ModeratorHi,
It is possible that there are problems when registering the post type. Please share some screenshots and let me know the post type and the field group that have the issue.
Then share your site credentials via this form https://metabox.io/contact/, I will check it out.
March 9, 2021 at 12:20 PM in reply to: ✅First Name and Last Name are not getting copied to user data #24792Long Nguyen
ModeratorHi,
Sorry for the confusion, please use the setting
'type' => 'user'instead of'post_types'in your code. Get more details to register user meta here https://docs.metabox.io/extensions/mb-user-meta/#example.Long Nguyen
ModeratorHi,
Yes, it works for the cloneable group field. All sub-fields and cloneable groups will be stored in one cell of the row. Each row will store field value for one post ID.
Long Nguyen
ModeratorHi Martin,
Please do not delete something in the source code if you are not sure about it. Please follow the step Debugging Information https://support.metabox.io/topic/how-to-create-a-new-topic/ and share the error message.
You can also share the code that creates the meta box and conditional logic, I will check it on my end.
-
AuthorPosts