URL form field type

From Joomla! Documentation

Revision as of 18:58, 23 June 2013 by Elin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This field essentially is a text field with the type of url. If a fully qualified url (that is one with a scheme and domain such as is entered and it uses idn (that is uses characters that are non ascii such as ê or Ψ) it will translate the url into punycode prior to saving. This assures that the url will work as intended regardless of environment. If you want to render field data in idn you should wrap it with the conversion method JStringPunycode::urlToUTF8($this->contact->webpage).