MisterM74
Forum Replies Created
-
With this function
function um_custom_validate_mobile_number( $key, $array, $args ) { if ( isset( $args[$key] ) && !preg_match('/^[6-9]\d{9}$/', $args[$key]) ) { UM()->form()->add_error( $key, __( 'Please enter valid Mobile Number.', 'ultimate-member' ) ); } } add_action( 'um_custom_field_validation_mobile_number', 'um_custom_validate_mobile_number', 30, 3 );
In the “$args[$key]” part can we use a data list?
Because I’m trying to create a custom !preg_match for this argument “au0800ST” and it’s not working.
Mz
Simple, the same process as the drop-down version, but using a text box field, which fetches data information (0001), which gives confirmation (au0800ST), all from a CSV file.
OK, I made a mistake, it’s not a drop-down field that I need, but a simple field. Is it possible to check simple fields or not?
I get this error when now
Deprecated: La fonction UM::enqueue est obsolète depuis la version 2.7.0 ! Utilisez UM()->frontend()->enqueue() à la place. in /home/foxstudio/domains/testum.xxxxxxx.net/public_html/wp-includes/functions.php on line 6031
The UM::enqueue function has been obsolete since version 2.7.0! Use UM()->frontend()->enqueue() instead.
Do I have to name the columns?
And then, once I’ve uploaded the file, what do I do?
What should I add to my registration form?
Kind regards
Mz
Does this help?
Mz
I’m trying to understand how it works so far, but when I install and activate the plugin, I’m completely at a standstill. Don’t you have a tutorial that explains how to do it, because the documentation from ultimate member is vague and hard to understand, should I subdivide the file into 2, because I have a file with 2 columns and I’d like to know how to do it?
Hello
Not knowing how to edit my first message, here’s what I’m really looking for.
What I’m looking for is to use drop-down fields to fetch information from the 1st column, to display the confirmation code in the second drop-down field, to create the whole thing in a registration form managed by the UM plugin, is this possible?
Mz
Here we are with a good answer.
Do we create a basic email address field with all the security, but display it as a custom field.
Kind regards
I haven’t heard from you in weeks, has no one found you?
I found another code, but the problem is that I can’t display the email address in the account page.
Hello
I haven’t heard from you or your support, so there’s something to worry about?
Mz
Hello
Thank you for replying, but it doesn’t display items that aren’t predefined.
Code snipes with Meta Key fields to be displayed on the account page
postal_code
numero_agendaSo I’ll leave you with the image.
The second image shows you that by putting the 2 text box fields, nothing is displayed in the account page.
Mz
OK kim, but, is the product hidden or is it displayed and then when we click we go to the login page?
Forum: Plugins
In reply to: [WP Fastest Cache] reset the pluginIt’s OK for me
We can close the subject
Thank youMz