Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webform field - The amount of money you’re willing to pay in fees, if any - is a text field not an integer #469

Open
cnovick-doj opened this issue Dec 13, 2017 · 0 comments

Comments

@cnovick-doj
Copy link

cnovick-doj commented Dec 13, 2017

As a Admin, in order to create a webform with a field that accepts values in dollars and cents, I need the to provide users with the ability to specify amounts as numeric currency instead of text.

https://www.drupal.org/project/currency may be a better solution especially if the form field forces an entry like 29.5 to 2 decimal places and records it as 29.50

Expected Behavior

I enter a value of 29.5 in the fee_amount_willing field and expect to round to 2 decimal places and prepend amount with a dollar sign ($) when displaying

Actual Behavior

29.5 is entered in the field

amount entry

fee display

Steps to reproduce the behavior

Enter data into webform at https://dev-admin.foia.gov/form/cnuat-form and submit

Click on your submission at https://dev-admin.foia.gov/admin/structure/webform/manage/cnuat_form/results/submissions to view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant