Hide the save button if a group is hidden

RobertG

Member
Hi,

I have a form where visitor can estimate the cost of a stay. If they agree, they can book it.
So I have 3 groups: stay, options and total price always displayed for the quote.
On the last one a radio button permits to display a "student details" and book the stay.

I'd like that when the student group is hidden, the save button (and the consent plugin) to be hidden too.

Is it possible?
Thanks!
 
I forgot these pictures
 

Attachments

  • Capture d’écran 2023-07-12 165651.png
    Capture d’écran 2023-07-12 165651.png
    7.3 KB · Views: 48
  • Capture d’écran 2023-07-12 165607.png
    Capture d’écran 2023-07-12 165607.png
    6 KB · Views: 46
I didn't find how to do.
So I used in the student details group a display and a radio button elements to replace the consent plugin on the form. The submit button is hidden by dfault (when the selected radio button is set to no) and select the "agree" radio button displays the submit button.
 

Attachments

  • Capture d’écran 2023-07-14 101551.png
    Capture d’écran 2023-07-14 101551.png
    17.8 KB · Views: 44
  • Capture d’écran 2023-07-14 101609.png
    Capture d’écran 2023-07-14 101609.png
    19.4 KB · Views: 44
We are in need of some funding.
More details.

Thank you.

Staff online

Members online

Back
Top