Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author hoffcamp

    (@hoffcamp)

    I’m glad you like the plugin! The best way to get this done would be to do this from within MySQL. Most hosts have phpMyAdmin which can process bulk inserts from a file, but don’t as me about details. You don’t have to worry about the timestamp/user/user_ip fields, but unique_id has to be something unique for each row. Other than that you should be fine. The data table will be something like ‘wp_fm_data_1’, where the ‘1’ will correspond to the ID of your form. You can figure this out either from the ‘wp_fm_forms’ table.

    Thread Starter Daniel Schutzsmith

    (@schutzsmith)

    Terrific! I was able to figure it out. Ended up using a mixture of PHPMyAdmin and SequelPro on the Mac.

    One question, is there a way to auto define those unique_id’s? Ive got about 550 of these and really don’t want to have to edit every entry if I don’t have to ??

    Thanks again!

    Plugin Author hoffcamp

    (@hoffcamp)

    You could do it with a php script. for a given data table, go through the column names, and change column name and the corresponding unique_id in the fm_items table to whatever you want. You would still have to build a master list of new/old names. If your item labels are unique across all forms, you could use the sanitize_title() function to generate a ‘unique_id’ based on the item label, or maybe the item label and a random number. At the moment I forget how long the unique_id field is, but something like that could work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress Form Manager] Import Feature?’ is closed to new replies.