Donation Form - Matching Gifts Responsive Field

Options
We've added the field to our donation form that allows us to ask an individual if their employer matches their gifts. Now, we'd like to add a conditional field, that if they click "yes" a text box will populate to allow them to enter their employer's name. I'm not seeing this as an option within the donation form - any insight? The only other option within the "Matching Gifts" field auto populates employer name, address & phone number regardless of the previous question which we do not want. Would love any ideas! 
Tagged:

Comments

  • There isn't a way to do this with the stock form out of the box. But it might be possible to add a little bit of Javascript to the page that will handle this functionality.


    The idea is to use CSS to hide the regular Employer field. Then we can add some code to watch your checkbox or radio button and unhide it when changed.


    Do you have the form ready with the yes/no field and employer field? Once you do post a link and I can talk you through how I would do this.


    BPM
  • Brian, 


    Thank you for your response! Our donation form is live & working at www.KidsFoodBasket.org/Donate. This is actually a question in response to many people clicking yes, but then unable to provide that company name. Would love your insight on how to code in that condition further. 


    Thanks! 

    Tarah


     

Categories