• Resolved Losmi

    (@uloszaminje)


    I have this drop-down menu which contains numbers from 001 to 300.
    After successful form submission, I’d like to remove selected drop-down option from database, so after all 300 users have submitted their data, all options from the list are removed.
    I guess I should use add_action( ‘wpcf7_mail_sent’, ‘your_wpcf7_mail_sent_function’ ); routine, but how do I remove that option using PHP?
    Thank you VERY MUCH in advance!

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • Thread Starter Losmi

    (@uloszaminje)

    Okay, Ive done it another way, made a little table in database for the values and inserted a dynamically created dropdown menu fed by these values…

Viewing 1 replies (of 1 total)
  • The topic ‘Remove option from drop-down runtime’ is closed to new replies.