Hello @itexilion
I’m sorry, but I need additional details. What do you mean by searching through the form? Please, describe the behavior you want to implement.
Best regards.
Sure, long story short)
Lest say there is a fieldset with 100 fields, it will take much time to find one, user needs, so it would be great to have a searchbox that can highlight/show/or scroll to field, user is looking for.
Something similar you can see in this video at 4:50
Youtube
-
This reply was modified 4 years, 5 months ago by
itexilion.
Hello @itexilion
I’m sorry, there is no video link in your entry.
Best regards.
Hello @itexilion
In short, you want to hide all fields in the form except the field whose label matches the text entered by the user.
If it is the case, you must implement this behavior as part of your form. There is no specific control for this.
For example, assuming your fields are radio buttons, and you want all fields except those whose labels contain the text typed by the user.
1. Insert a text field in the form (I’ll assume it is the fieldnam123).
2. And then, insert a button field in the form with the onclick event:
jQuery(".cff-radiobutton-field").hide();jQuery(".cff-radiobutton-field>label:contains('"+jQuery("[id*='fieldname123']").val()+"')").parent().show();
The previous code is only an example. You should reimplement it to be used with your form’s structure.
If you need a custom coding service you can contact me through my private website: Custom Coding Service
Best regards.
I found in calculated field option to define dependencies like if value==’abc’ then show fieldnameXX it could also solve the task, but it works only with exact match, is there an operand “any” like * in windows (for example *.jpg will search all matches ending on .jpg)