Insert CSS into Short Scrollable Terms Widget

  • Profile Image
    hg98g7pdjnem
    Asked on October 29, 2020 at 10:37 PM

    Hi,

    Please look at my form "ToS Form." I would like the user to input his or her name in the name field and then have it appear in the Short Scrollable Terms Widget where {name} is. Right now, I see that it is not possible but is there a way that I can use custom CSS so that the user's name appears in the Short Scrollable Terms?

    Thanks

  • Profile Image
    KrisLei
    Answered on October 30, 2020 at 01:56 AM

    Hello,

    It seems that it's not possible to insert or pass a value of a field on the Terms and Condition widget. How about using the Fill in the Blanks field? For reference: https://www.jotform.com/blog/new-fill-in-the-blank-field/

    I have cloned your form and added the Fill in the Blank Field. Please view this form and see if it meets your requirements: https://form.jotform.com/203030977944964


  • Profile Image
    hg98g7pdjnem
    Answered on October 30, 2020 at 12:45 PM

    Thank you for your reply, unfortunately, that will not work. I need the customer's name to appear in the ToS to say, I {name}, agree to the ToS.


    I cannot find the thread but one of your colleagues has been very helpful in the past with helping me with some CSS code to make similar changes. Can you please ask around about how to use CSS to insert the customer's name in the appropriate place?


    Thank you again for all of your help.

  • Profile Image
    KrisLei
    Answered on October 30, 2020 at 04:19 PM

    Please give me some time to verify if this is possible with CSS codes. Let me get back to you as soon as possible or with a workaround.

    Thank you.

  • Profile Image
    rvkq1o8arg39
    Answered on October 30, 2020 at 05:01 PM

    Thank you!

  • Profile Image
    KrisLei
    Answered on October 30, 2020 at 06:20 PM

    I have verified that it's impossible to pass a field's value through CSS to the Short Scrollable Widget, even using CSS or field tags. I have used Paragraph Field and the Flat Checkbox Widget to meet your requirements.

    Please refer to this detailed guide to make the Paragraph Field (formerly known as the Text field) similar to a scrollable terms widget: creating-a-scrollable-terms-and-conditions.

    In this way, we can pass the value from the Name field to the Paragraph field through the field tag. Please refer to this demo form: https://form.jotform.com/203036598915967.