Suggestion for new type of field. "Text area with HTML"

  • Profile Image
    tony22
    Asked on January 12, 2012 at 09:42 AM

     A new kind of text area box would be useful for many users, "Text area with HTML". This would enable users to paste text from the results straight into web pages. My local council, for example, has a comment and planning objection form but when they put them online for the public to see all the line breaks are lost and the entire text becomes one continuous paragraph. Such a field would be useful to me because I put results online.

    I'm not sure if the codes should show as codes to the person filling in the field, but perhaps they could show as codes, such as <br /> or <b> etc, when the result is forwarded to the form creator.

     

     

  • Profile Image
    NeilVicente
    Answered on January 12, 2012 at 01:10 PM

    Tony,

    Thank you for heeding my advice by opening a new thread for your suggestion. I will forward your idea to our feature wishlist - so our developers will take notice of it and decide whether it is fit for implementation.

    Due to the unpredictable schedule and workload of our developers, we cannot give you a specific time as to when this will be rolled out, if approved at all. In any case, we will inform you of our development team's decision.

    JotForm appreciates suggestions from our users and yours is not an exception. Thank you for sticking with us!

  • Profile Image
    aytekin
    Answered on January 13, 2012 at 01:55 AM

    So, what you would like is similar to the formatting options we have on the support forum textarea? The feature request ticket was opened like that. So, I need to make sure I understand it right. 

  • Profile Image
    tony22
    Answered on January 14, 2012 at 05:11 AM

    A text area field may have several paragraphs each ending with a hidden linebreak code, which I shall call [lb].

    When a webmaster pastes the content of the field into an html editor the hidden [lb] codes have no effect and when the page is viewed in a browsert it is seen as one long paragraph. He has to go through the text adding <br /> codes at all those points.

    The new field that I am suggesting would be recognised by the Jotform form processor which, with a few lines of Javascript code, would replace all the [lb] by <br />[lb]

    It is probably too complicated to convert other tags such as Bold but I'm sure the line break would be useful for many people.