Activating text input box after checkbox is checked!

I want to know if I can activate/ show text input box after checkbox is checked !

I am trying to make an enquiry form that have a checkbox, with a text input box be activated/showed after the checkbox is checked to add more information.

In other words, the text input box will be grayed out and not allowing to write anything until the checkbox is checked.

One more question, can I make tap like views? for example, if I have 2 groups of photo galleries that I want to show in the same place on the page but each gallery will be under a different tap (one to show cat photo and the other to show dogs photo.

I am still getting familiar with Sparkle.

Hey @Theilluminance, welcome onboard! :slight_smile:

A couple of good questions…

  • What you are suggesting with a tick activating an input box is not possible for now in Sparkle
  • I’m not totally sure about this one but I don’t think it is possible

Don’t forget there is a good bit of information in what you can do with Sparkle at Duncan’s website - https://sparkleapp.com/docs/, and at the Sparkle YouTube channel - https://www.youtube.com/channel/UCYoInDCDgpHMYKj06-KCT0g/videos

Hi.

With a Javascript snippet you can do this. Please read the following:
Java script solutions
There are sone examples for you.

Mr. F.

@FlaminFig @Mr_Fozzie

Thank you for the replies, however; I am not a code person but more into design. I will find a solution and share it with you.

However; one more question: can I add a drop down choices? Like nationality drop down.

Hi, I have already done a Form with that kind of function.
The trick is not to try to do everything in Sparkle, but you can easy integrate third party Tools via the embed option in Sparkle
. at the coffecup Software website there is a paid tool called Web Form builder. This tool is a web Form generation Tool, that can do webform elements in combination with conditions.
you simply create the Form with this tool, and embed the Code in your Sparkle site

Search for conditional Form elements

I was looking at the coffeecup form builder. But it is not clear on their website how I integrate something like this with Sparkle? Can it produce the code (I am a designer, not a coder) and let me copy the code and embed it into my Sparkle website?

Hi, you simply embed the code generated by coffeecup formbuilder into an embed box in sparkle. Coffeecup form builder generates an iframe, that you have to embed. It is very easy, and you don’t have to be a programmer.

You can check a working example that I did here: Individuelles Fehmarn Souvenir - jetzt Anfragen