Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Textual fields - stripslashes on output for HTML support

Textual fields - stripslashes on output for HTML support 14 years 8 months ago #7363

  • rjrosamond
  • rjrosamond's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
For textual fields, sometimes it's nice to use HTML to help spice up the registration page, especially when complex instructions are required for particular fields.

2 things:

1) The output of text of a textual field on the registration form always has slashes before apostrophes and quotes. I fixed this in my own version, but would be nice to have the fix in the next release. Edit lines 1642 and 2746 of class.dtregister.php to be:
return stripslashes($this->textual);
2) To make the editing of HTML easier, in the custom field properties, for textual fields make the "text" box use the WYSIWYG editor just like all the other similar places throughout DT Register do.

Thanks!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.092 seconds