Page 1 of 1

Create 2 Promo Codes in one form

Posted: Thu Sep 03, 2020 2:31 pm
by pajadt
Hi Pablo and other friends
I want to make two promo coupons through contact one form - PROMO1 and PROMO2
Which is activated when is
- Service 1 for PROMO1 is selected
- Service 2 for PROMO2 is selected

It is very important that the received email contains the correct code that is marked. If they both stand, how will it be known who they are applying for

How to do it, does anyone have a suggestion. or an example project.

Thanks

Re: Create 2 Promo Codes in one form

Posted: Thu Sep 03, 2020 3:14 pm
by Pablo
Can't you just use a combobox with two options?

Re: Create 2 Promo Codes in one form

Posted: Thu Sep 03, 2020 3:37 pm
by pajadt
I also thought I was using a combobox , when one service is clicked to appear below the code for that service. for example in the edit box, but what worries me is that both codes do not appear in the email, and then it is not known which one he applied for.

You think that in the combobox , I add for example the following service and promo code in same combobox

Re: Create 2 Promo Codes in one form

Posted: Thu Sep 03, 2020 4:00 pm
by Pablo
A combobox will only send the selected value to the server.