I’d like to save several sets of 5 digit coupon codes into my Bubble app’s database.
Type = Coupon
Field = Coupon code (number)
A page on my site would have an input field (integer) and a submit button.
The workflow of the submit button would navigate the user to another page on the site only if the coupon code entered by that user matches one of the several 5 digit coupon codes that I had saved into the database.
Is this doable in Bubble and, if so, what might that submit button’s workflow look like?
I’m getting stuck on the workflow that would query the database for the coupon codes. What action do I use to query for a matching coupon code? I’m assuming one of the actions under the “data (things)” section, but none of them seem like the obvious choice. Create, make changes, delete, copy…none of those seem right.
The AutoComplete dropdown functionality is kind of getting in my way.
I don’t want it to auto-suggest anything unless there is a complete match. So if the coupon code is ABC123, then the user would have to type in the full ABC123 before getting an auto suggestion to select.
I set up an equals to constraint under the “modify list” options, but it’s not producing the desired result. It’s still auto-suggesting after two characters are typed in by the user.
Another option I’d be fine with here is turning off auto-suggestion, but I don’t see an option for that.
Right now it seems to be case sensitive. If I type in ABC123 the button becomes clickable, but if I type in abc123 the button does not become clickable. Is there a way to set it so that it’s not case sensitive?
Hey avail the great deals and promo codes at promo code office. Here they are offering the list of coupon codes very clearly, that has been going long since for more than 3 months. Come lets grab the amazings deals at Microsoft.
@emmanuel do you know of any workarounds for case sensitivity in the search? When I am searching for someone’s first name it would be very helpful (i.e. “john” and “John” return the same results).