Jump to specific field when a multiple choice radio button is selected in Gravity Forms

263 views Asked by At

is there an option or maybe a small custom code to make Gravity Forms radio buttons jump to a field on selection?

In my example, i have a list of 14 options. Using a condition logic when you select one option a custom HTML is revealed right under each and every option. For desktop is super ok, the screen is big and all fit well. The problem is for mobile devices because you select an option but after that, you have to scroll to see the custom HTML.

Is there any option or custom code snippet in Gravity Forms that jumps to that custom HTML when an option is selected?

I found some resources on how to make this using HTML code with ids but this is somehow dynamic though the HTML code is placed in the same position. My first idea was to add the same ID to each and every HTML code so that when a radio button is pressed it scrolls to that ID. Don't know if it makes sense but ...

Can someone help me with some resources or give me some hints? Many thanks.

0

There are 0 answers