Hello. Has any other user experienced this problem using the FaaS for donation pages?
We have a FaaS donation form with a variety of donation amounts that a user can select via radio button:
- $5,000
- $1,000
- $500
- $250
- $100
- $50
-$25
- Other _____
Donations are being processed in the incorrect amount when a user selects the "Other" box and inputs a donation amount using punctuation. If a donor uses
the amount processes fine. However, all of these cases fail:
So using "$" and "," breaks the form.
The code for the "Other" field is:
<input type="radio" name="UnitPrice" id="Unitprice" value="Other" />
<input type="text" name="Other" size="12" maxlength="30" onKeyUp="document.getElementById('Unitprice').chec ked = true;" onFocus="document.getElementById('Unitprice').chec ked = true;">
What is going on here?
S
We have a FaaS donation form with a variety of donation amounts that a user can select via radio button:
- $5,000
- $1,000
- $500
- $250
- $100
- $50
-$25
- Other _____
Donations are being processed in the incorrect amount when a user selects the "Other" box and inputs a donation amount using punctuation. If a donor uses
5000
the amount processes fine. However, all of these cases fail:
$5,000 is processed as $0
$5000 is processed as $0
$5,000.00 is processed as $0
and:
5,000 is processed as $5
5,000.00 is processed as $5
$5000 is processed as $0
$5,000.00 is processed as $0
and:
5,000 is processed as $5
5,000.00 is processed as $5
So using "$" and "," breaks the form.
The code for the "Other" field is:
<input type="radio" name="UnitPrice" id="Unitprice" value="Other" />
<input type="text" name="Other" size="12" maxlength="30" onKeyUp="document.getElementById('Unitprice').chec ked = true;" onFocus="document.getElementById('Unitprice').chec ked = true;">
What is going on here?
S
Comment