WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form DB
How to insert an empty or null in optional Key Value pair export? (5 posts)

  1. jsherk
    Member
    Posted 1 year ago #

    Hi

    If I add a blank value for a key value pair in the "Optional Data export key value pairs to add", like this:
    address2=
    it does not get saved in the db.

    Is there a way to have this value entered but with either a blank value or a NULL value?

    Using WP v3.5.1 and Fast Secure Contact Forms v3.1.8.2

    Thanks

    http://wordpress.org/extend/plugins/contact-form-7-to-database-extension/

  2. Michael Simpson
    Member
    Plugin Author

    Posted 1 year ago #

    I'm not sure I understand. Where is this "Optional Data export key value pairs to add" ? Can you walk me through exactly what you are doing?

  3. jsherk
    Member
    Posted 1 year ago #

    This is for the FSCF plugin...

    Under Plugins > FS Form Options
    Choose your form
    Scroll down to Data Export
    There are then three textarea boxes.. one for Data Export Fields To Ignore, one for Data Export Fields To Rename and one for Data Export Key Value Pairs To Add.

    So under the third one (Data Export Key Value Pairs To Add) if I add something like this:
    address2=hi
    then it will succesfully add "hi" to the database under the address2 column.

    If I leave it blank after the equals sign like this:
    address2=
    then it will not get added to the database.

    Does that make sense now?

    Thanks

  4. Michael Simpson
    Member
    Plugin Author

    Posted 1 year ago #

    OK, this is a FSCF admin panel. I don't really know what is supposed to be going on there. You might want to post on that plugin's forum.

    My plugin's has export options under Contact Form DB -> Short Code where you can also create an export link. Missing values not in the DB will be given blank values in the exported files, in case that helps.

  5. jsherk
    Member
    Posted 1 year ago #

    okay thanks

    will post in the other forum

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.