Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] Textareas on forms display with an indent on first line

Simple Membership Plugin › Forums › Simple Membership Plugin › Textareas on forms display with an indent on first line

Tagged: first line indent in textarea

  • This topic has 3 replies, 2 voices, and was last updated 7 years, 9 months ago by mbrsolution.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • August 31, 2018 at 11:45 am #15326
    swisspenelope
    Participant

    Hi

    This has been going on for some months now, and is driving me and my users insane with annoyance. I use two custom fields – textareas – that people can write things in. Even though the user starts typing at left edge, the saved result always shows the entry indented to the right, sometimes several indents to the right! Also, the formatting in the rest of the textarea gets distorted.

    I have tried adding
    sanitize_textarea_field( string $str )
    to the class.swpm-form.php file, but this just wipes out the entire content of the textarea when I save.

    Is there no way to stop this happening?

    Thanks
    SP

    August 31, 2018 at 9:31 pm #15334
    mbrsolution
    Moderator

    Hi, are you using the Form Builder addon by any chance? If you are what version do you have installed in your site?

    Regards

    September 1, 2018 at 5:43 am #15337
    swisspenelope
    Participant

    Hi mbr

    No, I am not using Form Builder. Also I am using the latest version of WordPress and the latest of SWPM.

    In my site database I have made a few extra columns in my wp_swpm_members_tbl – of type varchar(255) – that match each textarea I have added to the Add, Edit, and the equivalent Admin forms. I have tried adding:
    trim
    to the code that outputs the long text, but even that does not change anything …

    Many thanks,
    SP

    September 1, 2018 at 7:39 am #15339
    mbrsolution
    Moderator

    Hi, thank you for reporting back with more information. Can you please carry out the following troubleshooting steps. I just want to confirm that there is no conflict with a plugin or your theme.

    Let me know what happens.

    Thank you

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy