This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

w3 reports ERROR Bad Value
#1

[b]<input type="url" id="cmtx_dialog_link_field_1" value="http://">[/b]
[b]<input type="url" id="cmtx_dialog_image_field" value="http://">[/b]

Error[color=rgba(0, 0, 0, 0)][/color]Bad value http:// for attribute value on element input: Invalid host: empty host.
Reply
#2

When I started this thread yesterday, I didn't realize it posted in a strange format.  Here's a screenshot of it.
   
Reply
#3

Although the validator has identified this, I'm not convinced there's anything to fix.

The value is prefilled with 'http://' to make it clear that's what the expected URL must start with, while it also saves the user a bit of typing time.

The validator I think is assuming that 'http://' will be submitted. When actually the user will complete the URL so that it's valid.

If you still want to modify it though, you can change the value in:

/frontend/view/default/template/main/form.tpl

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
03-Mar-2016, 08:12 PM
Last Post by mariank
05-Jan-2014, 03:43 PM
Last Post by Steven
09-Jul-2012, 01:18 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)