Follow us on Facebook and Twitter!

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
  3rd party filer.js still calls .size() and throws an error ddraber 3 363 24-Apr-2019, 08:08 AM
Last Post: Zey
  Brief flash of page when error box is shown Apod42 1 852 26-Jul-2016, 06:50 PM
Last Post: Steven
Exclamation Sorry but 1 error was found Christopher 2 930 11-Jun-2016, 01:16 PM
Last Post: Christopher
  Unexpected Token Error franck 1 820 03-Mar-2016, 09:12 PM
Last Post: Steven
Big Grin Strange 404 Error When Hovering Over Admin Menu Methyus 6 1,940 01-Nov-2015, 11:50 AM
Last Post: Methyus
  Like (thumb) gives error mariank 8 4,037 05-Jan-2014, 04:43 PM
Last Post: mariank
  alignment error when smilies are disabled stevenvh 1 1,391 24-Jan-2013, 07:25 PM
Last Post: Steven
  Minor error in help text. stariocek 1 1,308 09-Jul-2012, 02:18 PM
Last Post: Steven
  frm.cmtx_terms is undefined javascript error jonoweb 1 1,358 27-Jun-2012, 04:12 PM
Last Post: Steven
  500 Internal Server Error Dashboard doesn't show up ssmyat 2 2,159 09-Apr-2012, 04:20 PM
Last Post: ssmyat

Forum Jump:


Users browsing this thread: 1 Guest(s)