How to show a long text when "view more" is clicked?

  • vercanie
    Asked on December 18, 2016 at 4:06 PM

    Dear JotForm,

    I love your forms!

    I would like to know, if there is a possibility to make a text clickable so that when it is clicked, a long text would appear. In particular, I want to insert a "view more information" link, that would open a long field.

    I´ve found this in the forum http://formdemos.awardspace.biz/form_30487151380956.html and actually I´m looking for something similar...

  • Chriistian Jotform Support
    Replied on December 18, 2016 at 8:44 PM

    I checked the form that you linked but it doesn't seem to have a view more text per your description. It doesn't have a clickable text that I can click to open a long text.

    However, I believe the Form Collapse feature is suitable for your requirement. This feature allows you to hide your text under a form collapse. When the form collapse is clicked, it will then open up to show the text. Simply click the Form Collapse button under the Survey Fields section to add it to your form.

    How to show a long text when view more is clicked? Image 1 Screenshot 20

    You can check out this link to view my demo: https://form.jotform.com/63527944042962 

    You can also follow this guide to clone the demo to your account: How to Clone an Existing Form from a URL

    If you need further assistance, please let us know.
    Thank you.

  • vercanie
    Replied on December 19, 2016 at 2:04 AM

    Dear Chriistian,

    thank you for your reply. Actually, the Form Collapse is not exactly what I am looking for. Please, try to click "Curtain Raiser Package 2" in the demo I´ve posted. The package description should appear...

  • Chriistian Jotform Support
    Replied on December 19, 2016 at 3:48 AM

    Hi again,

     

    I checked again the form and I noticed now what you are trying to refer. It seems that the owner of the demo form uses a JQuery script for the form to have like a curtain raiser effect in the demo form. Unfortunately it is not possible to add a custom code to your form using the form builder. How to show a long text when view more is clicked? Image 1 Screenshot 20

    If you are not looking for a Form Collapse tool and you would like for your form to have a clickable text and a long text would appear like this curtain raiser effect, then you can download a copy of your form's full source code and host it on your own server so that you can add a JQuery script just like what the form owner did here in the demo form.

    I would suggest that you can also hire a developer to apply the necessary code for your form either from Upwork or Freelancer.

    Do let us know if you need further assistance.
    Regards