Forum Replies Created
-
AuthorPosts
-
March 2, 2020 at 1:22 PM in reply to: ✅Registration: username as email, duplicated fields, avatar, visibility issue #18437
mdiessner
ParticipantHi Anh,
Can you pls advise when this is implemented? I have the AIO plugin. Thanks, MartinFebruary 17, 2020 at 9:59 PM in reply to: ✅MB User Profile -> Registration form -> validate loses other fields #18324mdiessner
ParticipantHi Anh,
I just downloaded the AIO package and I think you made a mistake in the file - the .JS extension is a .JS.JS
See screen shot.

Now it seems to work.
ThanksMartin
February 17, 2020 at 1:14 AM in reply to: ✅MB User Profile -> Registration form -> validate loses other fields #18309mdiessner
ParticipantHi Anh,
When users enter mismatch passwords, they can’t submit the form. Doesn’t that happen to you?
I am afraid it does not. Here is a link:
https://mydsk.co.za/user-registration
Please advise what is wrong?
Thanks
MartinFebruary 11, 2020 at 4:51 AM in reply to: ✅Registration: username as email, duplicated fields, avatar, visibility issue #18222mdiessner
Participantwould be nice to be able to put i.e. first name and last name above the email and password fields.
I got it. I’m trying to make that easier for you to reorder the fields. Please wait.
Has this been done - I have the same issue that email/password/confirm come up first, then the other fields from custom fields including first_name and last_name. Thanks!
January 29, 2020 at 3:36 AM in reply to: ✅Upgraded to developer bundle but WP Plugin says expired license #18044mdiessner
ParticipantIgnore - somehow the problem has been resolved and now all plugins updated. Thanks
mdiessner
ParticipantHI Anh,
Just sent you a message through contact form.
Please let me know once you found a solution.
Thanks
Martinmdiessner
ParticipantHi Anh,
I have done that - copied the php code into functions.php and changed the $form code to what you recommend - but its not working.
What I don't understand I purchased both MB Frontend and MB Builder so why would I need to copy the code - I am under the assumption that both modules do all of that for me without any coding?
The reason why I want to use the post_title is because we are building an FAQ module - so the title should be set by the user entering data (a question) in the front end.
Why could MB Frontend not allow in the visual interface to select post_title and post_excerpt and other WP fields to be selected? Then all this would be just working fine without any additional code?
Pls advise - really need to get this site up and running.
Thanks
Martinmdiessner
ParticipantJust to be a bit more clear - I bought the MB Builder and MB Frontend and did all the setup of meta boxes with its fields there.
Here is the code snipped from the MB Builder Edit Metabox screen:
<?php add_filter( 'rwmb_meta_boxes', 'your_prefix_register_meta_boxes' ); function your_prefix_register_meta_boxes( $meta_boxes ) { $meta_boxes[] = array ( 'id' => 'question', 'title' => 'Question', 'pages' => array ( 'question', ), 'context' => 'after_title', 'priority' => 'high', 'autosave' => false, 'fields' => array ( array ( 'id' => 'post_4', 'type' => 'post', 'name' => 'Post', 'post_type' => 'post', 'field_type' => 'select_advanced', ), array ( 'id' => 'textarea_bchoa_question_text', 'type' => 'textarea', 'name' => 'Question', 'desc' => 'Please enter any additional content here - be as descriptive as you like.', 'rows' => '3', ), array ( 'id' => 'checkbox_bchoa_notification', 'name' => 'Notification', 'type' => 'checkbox', 'desc' => 'Check this box if you want to be notified of responses', 'std' => 1, ), array ( 'id' => 'divider_3', 'type' => 'divider', 'name' => 'Divider', ), ), ); return $meta_boxes; }After that, I am using the PHP short code to activate the form as user front end, but I struggle to make the user write into the WP post name field with form validation (and ideally a custom message):
$meta_boxes[] = [ 'id' => 'question', 'fields' => ['title'], 'validation' => [ 'rules' => [ 'post_title' => [ 'required' => true, 'minlength' => 5, ], ], ], ]; $form = '[mb_frontend_form id="question" post_fields="title" submit_button="Submit Question" confirmation="Thank you for submitting your question, which will be addressed shortly!"]'; echo do_shortcode( $form );Please can you send me the correct code? In the future would be nice to have WP fields available in the form builder for MB Frontend and MB Builder.
Thanks
Martinmdiessner
ParticipantHi Anh,
THanks - I don't really understand this. I bought MB Frontend where I can add fields, but it appears not built in WP fields, those need to be added via the short code.
Is there no way to add WP fields via MB Frontend (the visual interface) without programming validation, titles, descriptions etc?
Thanks
Martin -
AuthorPosts