The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

Count no. of repeating letters in a name field

Labels

This Discussion is public

Notifications

Hello,

My client sells printed letter, and each letter would be a WooCommerce product.

He needs to allow the visitor input his/her name, the form should calculate how many times each letter is in that name, and output the total number & cost for the full name.

Example:

Name: DANNA

D-1 | $10

A-2 | $20

N-2 | $20

Total= $50

Can this be done with Formidable calculations for WooCommerce products?

Thanks

Dan

That sounds like a job for a custom jQuery function.

Discussion closed.