JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Count digits in number to multiply for a cost?Asked by jenebo on September 14, 2015 at 11:54 AM
For example, we have a badge number 10150. Instead of Jotform reading it as 10,150, we would like it to count the numbers so it should read the number 5 for the 5 digits, then we can multiply the 5 digits by the $1.25 per digit for a total. Is there a way to do this?
May we know how the badge number is generated? Is it being typed on one text box field? Or is generated by clicking radio buttons or check boxes? I believe the conditional logic should be able to do this, but depending on how you setup things.
We'll wait for your response.
The badge number is typed in by the user.
As suggested by my colleague, you can achieved this by adding conditions in your form. You can check this sample form that I have created - http://form.jotformpro.com/form/52568689768986. See screenshot below for the Condition setup of the form I implemented.
Do let us know if you need further assistance.