WordPress.org

Ready to get started?Download WordPress

Forums

Custom Contact Forms
Field ordering (6 posts)

  1. jellied
    Member
    Posted 3 years ago #

    Some way to order /re-order fields would be great. It's a pain to have to re-design a form to insert a new field or move them about.

    http://wordpress.org/extend/plugins/custom-contact-forms/

  2. Wudman
    Member
    Posted 3 years ago #

    Oddly enough I just logged in to find a solution to this. I am sure there will be some editing of the form that might not be drag and drop, but that will accomplish this. I am using two form widgets in sites and although this one takes a little getting used, to, I like the options. Now off to find out how to re-order fields because I just added new fields to an existing form. Infernally optimistic!

  3. Wudman
    Member
    Posted 3 years ago #

    Okay, maybe I will have to employ my infernal optimism 'cause I am defaulting to deleting fields above the ones I want higher in the form and then re-introducing them because that appears to be faster than what I can't find. I wait in line behind Jellied

  4. puregraphx
    Member
    Posted 3 years ago #

    +1

  5. blondie53185
    Member
    Posted 3 years ago #

    I also am searching for a way to reorder fields.

  6. gkeiner
    Member
    Posted 3 years ago #

    +1
    The workaround I used was to edit the database manually (I use PhpMYAdmin) and look for the form config in table wp_customcontactforms_forms. From there, you see a configuration that looks like:
    a:8:{i:0;i:9;i:9;s:2:"14";i:2;s:1:"5";i:3;i:11;i:5;i:13;i:6;i:10;i:7;s:1:"1";i:8;s:1:"8";}

    It seems that each form element has 2 or 3 parameters, each element ending with a ;

    Copy the current string into a line in a text editor so you can compare what's there once you remove the field you want to resequence using the plugin GUI. You can figure out the bit you've got to insert (the form element in question)by counting n+1 fields from the first ; . Insert the piece that vanished when you removed the element.

    Hope that helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic