Hello,
I’m trying to figure out how to recreate the “Start Hiring” section of this site: http://rivierapartners.com/
I’m looking for a button to show and hide a form field selection on click. I saw through past posts that this could be done through javascript but thought maybe interactions could be used now?
Create structure with button and form under that button
Style form and make it overflow: hidden. Here I would recommend set this option to the Form Wrapper. Also, make sure you are not using top and bottom paddings on that element.
Create interaction for the button:
-Trigger Click
-Affect different element = “Form Wrapper Class”
-1st click >> Height = 0px
-2nd click >> Height = auto
Give the ID tho the section where all this content created and link the button to this section in the link settings
Hi Sabanna,
I thought I followed your instructions but it doesn’t seem to be working. I’m doing it to the Start Hiring area in my site. Here is the public link, thanks!
Okay…think I’ve got it about 95% of the way there. Only thing now is that I’m able to see the form at first and only on the second click is it going away.