Okay, reading through that, I see how a static value can be used. Is there some way to make it know the field is valid after it's compared to a database? I'm using this to allow our users to use sale vouchers (from Plum District and this week from Groupon). I copy and pasted all 200 codes last week into the conditional logic so that when a user put in the correct code, the discount box would show. This week, it's 1000 Groupon codes and I'd really rather not have to copy and paste all of those.
Ideally, this is what would happen. The Discount field will go to the database for validation (I have another topic open for this....I can only seem to use my code to validate one field and I need to validate two for two different offers). Then, once the field is confirmed valid, I'd like the conditional logic to tell it to show the discount offer that will then calculate into the shopping cart.
Is this possible? Or do I need to start copying and pasting now?
Thanks!
Posted 12 years ago on Friday April 27, 2012 |
Permalink