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
  Error: Could not load email new_version! tashi 2 595 28-Jan-2020, 11:05 AM
Last Post: tashi
  3rd party filer.js still calls .size() and throws an error ddraber 3 464 24-Apr-2019, 08:08 AM
Last Post: Zey
  Brief flash of page when error box is shown Apod42 1 877 26-Jul-2016, 06:50 PM
Last Post: Steven
Exclamation Sorry but 1 error was found Christopher 2 968 11-Jun-2016, 01:16 PM
Last Post: Christopher
  Unexpected Token Error franck 1 853 03-Mar-2016, 09:12 PM
Last Post: Steven
Big Grin Strange 404 Error When Hovering Over Admin Menu Methyus 6 2,044 01-Nov-2015, 11:50 AM
Last Post: Methyus
  Like (thumb) gives error mariank 8 4,144 05-Jan-2014, 04:43 PM
Last Post: mariank
  alignment error when smilies are disabled stevenvh 1 1,415 24-Jan-2013, 07:25 PM
Last Post: Steven
  Minor error in help text. stariocek 1 1,337 09-Jul-2012, 02:18 PM
Last Post: Steven
  frm.cmtx_terms is undefined javascript error jonoweb 1 1,391 27-Jun-2012, 04:12 PM
Last Post: Steven

Forum Jump:


Users browsing this thread: 1 Guest(s)