• Resolved secretsau

    (@secretsau)


    Hi,

    Currently when i export data, i get the titles to be text-406 or radio-450, how do i make them set to the current field names like Name or Email etc.

    Regards

Viewing 8 replies - 16 through 23 (of 23 total)
  • msimpson: Don’t worry about it. I installed CF7 instead and changed the form_name and did what you posted above. All works great now!

    Thanks a lot for your time!

    02/01/2011
    In the WordPress version, I added new Data Export settings on the contact form edit page.
    This will appear in version 2.9.8.1 when it is released, maybe in a week. It is in the trunk code right now for all new installs.

    The settings can be set for each individual form.
    FAQ page has been fully updated.
    https://www.fastsecurecontactform.com/save-to-database

    Hi Michael,
    First, I want to thank you for the help you have given us in the past.

    I have a field in my database named Status. Initially, the value is Pending and I want to change it to Approved after a button is clicked. How will I do it?

    Melissa

    Plugin Author Michael Simpson

    (@msimpson)

    You would have to write PHP on the page where the button posts to (maybe an ajax call) then you would execute a SQL update like

    update wp_CF7DBPlugin_SUBMITS
    set field_value = 'Approved'
    where submit_time = 'submit-time'
    and field_name = 'your-field-name'

    So you have to track the submit_time and field_name so you can uniquely ID the field in the DB

    Hi Mike,

    Can you show me where to code an sql code like this. Should it be added on the plugins?

    Plugin Author Michael Simpson

    (@msimpson)

    No it’s not that simple. You would have to have some programming knowledge to string it all together

    Hi Mike
    I have WordPress German, ContactForm7. I made a french form, very nice and comfortable to have the choice.
    So, but the Button to browse for attachment don’t change the name. Its “Durchsuchen” in german, in french, in english. How cam I rename this button. (For Submit its so easy!)

    Plugin Author Michael Simpson

    (@msimpson)

    Re-post this on the form for the Contact Form 7 plugin, not this forum (this is for the DB plugin to it)

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘[Plugin: Contact Form 7 to Database Extension] How do i change the titles to the current field names’ is closed to new replies.