Hello - experimenting on pulling coupon codes from a database…
I have a text input box for the user to enter a coupon code. If the user enters a correct coupon in the input field I want to display the coupon discount in a text box next to it, if not some other text such as “Not a valid code”
I’m having trouble figuring out the dynamic input logic within the text box to display the discount, haven’t even got to how I will display the “Not a valid code”.
Data: Thing = Coupon Codes: Fields: Name (text) = Name of Coupon Discount (number) = dollar amt of Coupon
Logic: If Name = Input, then display Discount
Else display “Not a valid code”