WordPress.org

Ready to get started?Download WordPress

Forums

Participants Database
Textarea formatting (2 posts)

  1. bw3em
    Member
    Posted 2 years ago #

    Please can the textareas pay attention to line breaks that the participant enters? It's so frustrating that I - as admin - have to Use Rich Text Editor to format all records. I would rather turn this off and have line breaks allowed. Please... pretty please, is there a way?? Em

    http://wordpress.org/extend/plugins/participants-database/

  2. samrhein
    Member
    Posted 1 year ago #

    I had this problem as well. I solved it by changing the line
    $values[] = self::prep_field_for_display($participant[$column->name], $column->form_element);
    in participants-database.php (plugin version 1.4.4) to:
    $values[] = nl2br(self::prep_field_for_display($participant[$column->name], $column->form_element));
    (just adding the nl2br() function) In order to output html line breaks on the List Participants page. Good luck!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic