How to split the values passed from one field to another using calculations?

  • info@olbax.com
    Asked on June 18, 2019 at 2:21 AM

    en la foto se puede ver que los valores de una lista coloco con el siguiente formato

    especificaciones <br /> especificacion1 <br /> especificacion2 <br /> especificacion3

    esto con el fin de separar una linea de otra

    aparentemente lo separa según la foto

    sin embargo a la hora de generar el documento todo se junta no se separa la linea

     

    Jotform Thread 1860304 Screenshot
  • Kevin Support Team Lead
    Replied on June 18, 2019 at 4:15 AM

    I have been performing some tests and I found that it's not possible to split the words on single lines, the HTML <br> tag will not work as the form builders does not allow HTML code on the settings due to security reasons. 

    I have been trying to format the text with some CSS, but it did not work either. As an alternative, you may try reducing the text element's width, this way you can break the words, here is a sample code you may use: 

    [data-type="control_text"] .form-html {

        width: 10%;

    }

    Try injecting this to your form's CSS code and see the result, you can change the "10%" value with any other one you want, this guide will help you injecting the code to your form: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    I hope this helps. 

  • info@olbax.com
    Replied on June 19, 2019 at 10:05 AM

    podria explicarme mas sobre ese codigo?

  • VincentJay
    Replied on June 19, 2019 at 11:38 AM

    I think the code is just a workaround that will reduce the text element's width. 

    Let us know if you need further explanation. Thank you.