Removing mask to submit form
See original GitHub issueHow can I do that?
I’m using this:
$('#field').maskMoney('destroy');
but this isn’t working.
I’m trying avoid some error on my rails server like this
is not a number
Is there any simple way to do that?
Thanks in advance.
Issue Analytics
- State:
- Created 11 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to remove literals from input mask after form submit?
Set removeMaskOnSubmit as true when you initialize the inputmask $("#txtPhone").inputmask({removeMaskOnSubmit: true});.
Read more >How do I remove the mask before submitting the form? #659
I have this code: setPhoneNumber(event.target.value.replace(/[+()_-...
Read more >'Masked Input Plugin' Remove mask on submit - jQuery Forum
Is it possible to remove the mask on submit? Im not sure how the mask works but im guessing that it will submit...
Read more >Consent To Opt Out Of Face Mask Requirement Form Template
This Consent to Opt Out Of Face Mask Requirement Form will provide you with your students and employees consent that they've signed this...
Read more >How to Put on and Remove a Face Mask
Remove a mask from the box and make sure there are no obvious tears or ... the Confidential Morbidity Report (CMR) form to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
basically I’ve done that:
@fabianoalmeida good catch. In the last version I’m cleaning maskMoney’s namespace events before attaching it again, so the destroy action isn’t really necessary 😃