Title: check data csv
Last modified: November 11, 2023

---

# check data csv

 *  Resolved [MisterM74](https://wordpress.org/support/users/misterm74/)
 * (@misterm74)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/)
 * Hello
 * I have a 2-column csv file.
 * In the first column, I have a list of numbers from 0 to 1000.
 * In the 2nd column, I have a list of numbers, lowercase/lowercase letters that
   give the right, access to the 1st column, a confirmation.
 * What I’m looking for is to define all this in a registration form managed by 
   the UM plugin, is that possible?
 * Mz

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/check-data-csv/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/check-data-csv/page/2/?output_format=md)

 *  Thread Starter [MisterM74](https://wordpress.org/support/users/misterm74/)
 * (@misterm74)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17194257)
 * 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
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17194296)
 * [@misterm74](https://wordpress.org/support/users/misterm74/)
 * You can try this plugin “Two and Three Way Dropdown options”
    where an uploaded
   CSV file is used to populate the dropdowns.
 * [https://github.com/MissVeronica/um-three-way-dropdowns](https://github.com/MissVeronica/um-three-way-dropdowns)
 * UM Documentation guide
 * [https://docs.ultimatemember.com/article/1539-choices-callback-feature-in-um-2-1](https://docs.ultimatemember.com/article/1539-choices-callback-feature-in-um-2-1)
 *  Thread Starter [MisterM74](https://wordpress.org/support/users/misterm74/)
 * (@misterm74)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17194932)
 * 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?
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17194942)
 * [@misterm74](https://wordpress.org/support/users/misterm74/)
 * Can you post here in the Forum a short part of your CSV file.
 *  Thread Starter [MisterM74](https://wordpress.org/support/users/misterm74/)
 * (@misterm74)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17194962)
 * ![](https://i0.wp.com/imgtr.ee/images/2023/11/12/5c8b73ff4045c8c19d665021ef858286.
   jpeg?ssl=1)
 * Does this help?
 * Mz
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17194984)
 * [@misterm74](https://wordpress.org/support/users/misterm74/)
 * Yes in the parent dropdown you will have the numbers from column A
    and when 
   user selects a number from this list the value in column B will be displayed 
   in the second dropdown field.
 * Have you created the folder `threewaydropdowns` and uploaded the CSV file to
   `.../
   wp-content/uploads/ultimatemember/threewaydropdowns/`
 *  Thread Starter [MisterM74](https://wordpress.org/support/users/misterm74/)
 * (@misterm74)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17195061)
 * 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
 *  Thread Starter [MisterM74](https://wordpress.org/support/users/misterm74/)
 * (@misterm74)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17195084)
 * The UM::enqueue function has been obsolete since version 2.7.0! Use UM()->frontend()-
   >enqueue() instead.
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17195163)
 * [@misterm74](https://wordpress.org/support/users/misterm74/)
 * > Do I have to name the columns?
 * No, you select columns A and B in the plugin settings
 * > And then, once I’ve uploaded the file, what do I do?
   >  What should I add to 
   > my registration form?
 * I have tried to make screencopies of the steps for a two level dropdown.
 * [https://imgur.com/a/JAWrN1j](https://imgur.com/a/JAWrN1j)
 *  Thread Starter [MisterM74](https://wordpress.org/support/users/misterm74/)
 * (@misterm74)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17195335)
 * I get this error when now
 *     ```wp-block-code
       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
       ```
   
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17195411)
 * [@misterm74](https://wordpress.org/support/users/misterm74/)
 * The plugin is not using this function.
    Do you have any other custom coding?
 *  Thread Starter [MisterM74](https://wordpress.org/support/users/misterm74/)
 * (@misterm74)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17195515)
 * 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?
 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17199058)
 * [@misterm74](https://wordpress.org/support/users/misterm74/)
 * Can you explain more details about how this should work.
 *  Thread Starter [MisterM74](https://wordpress.org/support/users/misterm74/)
 * (@misterm74)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17199387)
 * 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.
 * ![](https://i0.wp.com/imgtr.ee/images/2023/11/12/5c8b73ff4045c8c19d665021ef858286.
   jpeg?ssl=1)
 *  Thread Starter [MisterM74](https://wordpress.org/support/users/misterm74/)
 * (@misterm74)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/#post-17202855)
 * With this function
 *     ```wp-block-code
       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

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/check-data-csv/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/check-data-csv/page/2/?output_format=md)

The topic ‘check data csv’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

 * [2 columns](https://wordpress.org/support/topic-tag/2-columns/)
 * [csv](https://wordpress.org/support/topic-tag/csv/)
 * [possible](https://wordpress.org/support/topic-tag/possible/)
 * [Registration](https://wordpress.org/support/topic-tag/registration/)

 * 16 replies
 * 3 participants
 * Last reply from: [andrewshu](https://wordpress.org/support/users/andrewshu/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/check-data-csv/page/2/#post-17214559)
 * Status: resolved