Participants Database
Textarea formatting (2 posts)

  1. bw3em
    Posted 3 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


  2. samrhein
    Posted 3 years 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

  • Participants Database
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic