This support ticket is created 5 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I want a numeric field that validates and allows commas for entering currency values. Is there a way to do that now? If not, what is the workaround you suggest?
Similar questions were asked more than 2 years ago here:
If you do not know how to use custom JS, please feel free to contact our certified partners for your any custom programming needs:
=> https://toolset.com/contractors/
Thanks. We're able to add commas, but were hoping there's a way to get it to work with a numeric field which otherwise would fail validation. We'll have to write a custom validation function and use a single line field instead.
I hope Toolset adds this to CRED forms in the future. It is readily available in other plugin(s) like Gravity Forms.
We'll have to write a custom validation function and use a single line field instead.
-- I think this is the best alternative way. Toolset Forms offers the hook to validate the form server side. You can use the Toolset Forms hook: cred_form_validate
=> https://toolset.com/documentation/programmer-reference/cred-api/#cred_form_validate