• Hello, i was wandering if it is possible to use two buttons with the same input in contact form. The logic of the image provided is: you enter your email in the field and then press MALE or FEMALE button. Then this choice is sent to the back-end. Note that the e-mails from the female users would be saved in one place and the e-mails from the male users, in ohter place(table/column). Is that possible with CF7? Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Yes @digiart1975 you can, but there isn’t the reason to do that.

    Probably the best way is to use two radios as a button, record all the data into a single table (a mail collector like flamingo do the job). You can get collected data with a query like: select user where "your-genre = 'abc'" to get 2 different table from database

    ps has you been considering that maybe it’s not only 2 possible values? in this inclusive period you can’t make this mistake.

    radio to button css style and click on radio to submit (js pane)
    https://codepen.io/erikyo/pen/ZEKmYyq

Viewing 1 replies (of 1 total)
  • The topic ‘How to use two submit buttons with same input?’ is closed to new replies.