- hatzbsAsked on August 26, 2016 at 01:47 AM
In my form I'm trying to extract first 3 digits of DISPATCHER ID into ID field using String Widget; getting no result at all. Please advise. https://form.jotform.me/62340964958467
- JotForm SupportBJoannaAnswered on August 26, 2016 at 03:12 AM
Substring widget is used to capture characters from input fields, such as text box field. Considering that your "DISPATCHER" field is dropdown field Substring widget in not able to capture characters from that field.
Possible workaround is to add one additional text box field to your form, which can be hidden, and then to pass data from your dropdown field to text box field, with conditional logic. Then you can use Substring widget to capture characters form your new text box field and to pass it to ID field.
Here is my demo form: https://form.jotform.com/62381582340958
Feel free to clone it.
Hope this will help. Let us know if you need further assistance.
- hatzbsAnswered on August 26, 2016 at 05:20 AM
OK, worked as you said; I need to make STRING WIDGET HIDDEN & CANNOT. KINDLY ADVISE & Thx.
- JotForm SupportNik_CAnswered on August 26, 2016 at 05:34 AM
I checked your form and I see that solution provided by my colleague worked for you:
If I understood you right, you want to make String widget field hidden, to do that please try to paste this CSS in your Custom CSS field:
That will hide your String widget field from the form:
Hope it helps.
If you need further assistance please let us know.
- hatzbsAnswered on August 28, 2016 at 06:43 AM
Your suggestion works. However, I need to know HOW YOU IDENTIFIED THE SUBSTRING FIELD AS #input_10. The form you're viewing is only a TEST form. Thx.
- JotForm SupportWelvinAnswered on August 28, 2016 at 10:26 AM
You'll have to view the form in your browser and find the field ID by using the inspect element method. This guide from Google:
We can help you find it, just share us the correct form URL.
- hatzbsAnswered on August 28, 2016 at 02:05 PM
I found an easier way - inspecting the EMAIL FIELDS for a form shows the FIELD #. Please publish this info. Thx.
- JotForm SupportNik_CAnswered on August 28, 2016 at 02:15 PM
That is the way as well, thank you for sharing this information!
Please let us know if you have any further questions.