Create 2 Promo Codes in one form

Issues related to forms.
Post Reply
pajadt
 
 
Posts: 301
Joined: Sat Mar 16, 2013 11:23 am
Location: Europe
Contact:

Create 2 Promo Codes in one form

Post 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
User avatar
Pablo
 
Posts: 23025
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Create 2 Promo Codes in one form

Post by Pablo »

Can't you just use a combobox with two options?
pajadt
 
 
Posts: 301
Joined: Sat Mar 16, 2013 11:23 am
Location: Europe
Contact:

Re: Create 2 Promo Codes in one form

Post 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
User avatar
Pablo
 
Posts: 23025
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Create 2 Promo Codes in one form

Post by Pablo »

A combobox will only send the selected value to the server.
Post Reply