Page 1 of 1

Please enter valid website

Posted: 16 Apr 2010, 15:34
by lala_ina
Hi Phoca, thanks for making this component. It's nice and clean...

Just wonder, why everytime I make this setting in parameter:
Display Website In Form (yes -- not required)
Display Website in Message (yes)
I always get this error message: Please enter valid website ( include http:// )

What I need is, the form "display website" is just an optional form. My guest may fill it or not, if they fill it then it will appear in the guestbook, if they just want to leave it blank, then it will be fine.

What should I do to make it happen? (pardon my english... :wink: )
Waiting for answer,
Regards,

Lala

Re: Please enter valid website

Posted: 16 Apr 2010, 15:43
by vaneess
hey...
it's the same problem like this ;)
viewtopic.php?f=2&t=9063

Re: Please enter valid website

Posted: 17 Apr 2010, 16:29
by lala_ina
I'm not sure if our question (which hasnt been anwered yet...) are the same. All I need is actually simple, I just need to have Show website form without having it required. I have set it into yes (but not required), but it still generate message as if it is required :(

Really need help here... thanks..

Re: Please enter valid website

Posted: 21 Apr 2010, 07:51
by vaneess
yes it's the same question.

if the "http://" is in the field (default value), the form thinks it has a website, which isn't valid
so either you delete this "http://" (which was my question) or you type a valid website in..

Re: Please enter valid website

Posted: 22 Apr 2010, 22:49
by Jan
Hi, yes there are two types of protection:

a) require website - if you will not add it, it will require it

b) website should be correct - it doesn't matter if the website adding (a) is required or not but if you add something into the website input field, it must meet the website format.

Jan