1. marver
  2. General
  3. Saturday, March 22 2014, 08:29 AM
Hello,

I created a field 'Website' with Field-type 'link'. When you fill in the form you have to type the 'http://' or it will not work. What I want is people to fill in there website adres without the http://

It's not user friendly. Also when it displays the URL on the frontpage, why show http:// ?

Thanks,
Martijn
Accepted Answer
admin Accepted Answer
Admin
Yes,
I know, but for client validation we use HTML5 (safari not support), the input url HTML required http://
in the attached screenshot you may view the HTML5 validation from Chrome (the validation and message is not generated by Easy Profile or Joomla, but by Browser).

The only way to do this is to use the text field with custom format parameter for URL for edit/register profile and use delimenter text/HTL for profile page with our content plugin to generate the link (documentation at https://www.easy-profile.com/docs/26-plugin-content.html).
example of delimeter html:
<a href="{user alias_of _text_link}">{user alias_of _text_link}</a>

if you want check and auto add (if missing) http:// you can use our triggers (https://www.easy-profile.com/docs/44-triggers.html). But required PHP Knowledge.
Attachments (1)
  1. more than a month ago
  2. General
  3. # Permalink
admin Accepted Answer
Admin
In the next release we will add some javascript to add http if missing.;)
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.