FORMfields, the premiere web framework
Login
Support Home | Knowledge Base | Documentation | Forums | Contact Us
Info
FORMfields & FORMgen :: Field Customizations

Turn Off Htmlify

(2204 views. Last Updated: 2007-08-09 1:12 PM)

By default, FORMfields attempts to automatically htmlify or convert URLs and email addresses into hyperlinks. Here is an example of how to turn this off for any field.

Replace something like:
$ffForm->addField(new EmailAddrField("email", "Email", FORM_FIELD_REQUIRED));
with:
$ffForm->addField(new EmailAddrField("email", "Email", FORM_FIELD_REQUIRED));
$ffForm->formFields["email"]->setHtmlify(false);
Info
Support | Earn Money
Copyright © 2005-2019 Brain Book Software LLC.
Built with FORMfields, the premiere web framework.