• Resolved ArundelMom

    (@arundelmom)


    Data that comes in through Contract Form 7 textarea does not preserve the formatting in the datatable or when viewing using any CFDB commands. For example “Make is new” is translated into this: a€?Make is newa€?. As well, paragraph returns are missing etc. However, the emails that are generated look fine. Is there a way around these character substitutions?

Viewing 7 replies - 16 through 22 (of 22 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    It should be in the current version. Post what your shortcode looks like and some sample output. I’ll see if I can work out if there is a bug.

    Also: what is your version of WP? It looks like 3.1.3 wpautop is behaving differently.

    [cfdb-html wpautop="true" form="gunma-guide" filter="loc_category=Outdoors" show="loc_name,loc_category,loc_city,loc_latitude,loc_longitude,loc_website,loc_description" orderby="loc_city,loc_category,loc_name"]
    <h3>${loc_name}</h3>
    ${loc_city} (${loc_category})
    ${loc_description} (<a href="https://maps.google.com/maps?q=${loc_latitude},${loc_longitude}+&z=15&iwloc=A">Map</a>)
    [/cfdb-html]

    Output.

    If you view the source, you can see that there should be a line break in the ${loc_description}. I’m using WordPress 3.1.2.

    Plugin Author Michael Simpson

    (@msimpson)

    Ok, this is a different issue that than I thought we were talking about. I thought you mean line breaks like that between “(${loc_category})” and “${loc_description}” but you mean line breaks that are inside of the content of a field.

    In the Database Options page, set “Show line breaks in submitted data table” to “true” if it is not already. Does that help?

    Plugin Author Michael Simpson

    (@msimpson)

    …it probably doesn’t. I think I need to put in a fix for this.

    Ah, I see. Yes, I meant data in a field.

    Changing “Show line breaks in submitted data table” to “true” only changes the linebreaks in the backend.

    Thanks for looking into this.

    Plugin Author Michael Simpson

    (@msimpson)

    Fix is now in the development version.

    Fantastic. It works perfectly. Thanks ??

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Text Area Formatting’ is closed to new replies.