Add Button like functionality inside text field

  • Profile Image
    Perlman
    Asked on October 22, 2017 at 02:43 PM

    Hello,

    Is it possible to add html link/code within a text element and use conditional logic to hide the text element upon a user clicking the html link?

    I have a form with many text boxes to show detailed product information. I would like the user to be able to view a product (text box) and then be able to close (hide) the text box element by clicking a "button" within the text box.

    1508697774Screen Shot 2017-10-22 at 11.3

    Thank you,

    Spencer

  • Profile Image
    Jan
    Answered on October 22, 2017 at 03:21 PM

    My understanding is that you want to insert a link inside the Text fied/tool wherein that specific Text field will disappear once you click the link.

    Unfortunately, it is not possible to assign a condition to the link inside the Text field. However, you can use the Show Hide Field condition to achieve this function. The idea is when the user selected yes, the Text field will disappear. Here's an example:

    150870004110-23-hn0h5.png

    Here's the result:

    1508699973hidelink.gif

    Related guide: How-to-Show-or-Hide-Fields-Base-on-User-s-Answer.

    Hope that helps. Thank you.

  • Profile Image
    Perlman
    Answered on October 22, 2017 at 03:27 PM

    Thank you.

    In your example, where would the radio buttons be placed. I don't think the radio buttons can be placed inside of a text box. Is that correct?

  • Profile Image
    Jan
    Answered on October 22, 2017 at 04:01 PM

    If you have multiple text fields, you will need to have multiple radio buttons as well. Each radio button will be assigned to specific text fields. You also need to create multiple conditions for each radio button.

    Thank you.

  • Profile Image
    Perlman
    Answered on October 22, 2017 at 04:26 PM

    I understand. Thank you.