• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Line 110, Column 177: there is no attribute "placeholder"
PostPosted: Sat Aug 11, 2018 2:05 pm 
Offline
Forum Members
Forum Members

Joined: Sun Jan 07, 2007 4:32 pm
Posts: 205
Location: Italy
Good afternoon all, sorry for my bad english

I'm becoming crazy with my 2.8.8 with a minor detail that i would like to resolve. I'm trying to validate my site with

http://validator.w3.org/

I have only one error:
Line 110, Column 177: there is no attribute "placeholder"


Code:
Line 110, Column 177: there is no attribute "placeholder"

…searchinput" name="meb92fsearchinput" size="20" maxlength="50" placeholder=""/>

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.


that is relative to {search}. I removed {search} from my template and the error disappears.

I'm using a template derivate from "Left simple navigation + 1 column", with minor modification, but {search} is the default one

Code:
{* Start Search, the input "Submit" is using an image, CSS: input.search-button *}
     <div id="search">
       {Search}
     </div>
{* End Search *}


I can't unterstand where the string name="meb92fsearchinput" is coming from, I can't find it anywhere in my stylesheets or templates, I checked also with Admin search in my admin panel and into the database but meb92fsearchinput seems to not exist

Any help is appreciated for this, I love CMSMS , thanks :)

Gianpiero


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Line 110, Column 177: there is no attribute "placeholder
PostPosted: Sun Aug 12, 2018 12:59 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 362
Location: Victoria, BC
It comes from the Search Form template (whichever is the default for your Design).

Placeholder is a valid html5 attribute, the Left Simple design is very outdated so probably is using an older doctype. You may want to look at updating your page template(s) to html5 rather than removing the placeholder attribute from the search template.

_________________
Not getting the answer you need? CMSMS support options


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Line 110, Column 177: there is no attribute "placeholder
PostPosted: Sun Aug 12, 2018 6:19 am 
Offline
Forum Members
Forum Members

Joined: Sun Jan 07, 2007 4:32 pm
Posts: 205
Location: Italy
Ok DIGI3, thanks for you reply

So you suggest to create a new template "my_new_search" with associated style and css, instead of using {Search} i will insert my
{include file='cms_template:my_new_search'}

At this moment I can't understand that the template "Search Form Sample" seems to be attached to my design, while is not in the list of Design manager

27 Search Form Sample Search::Search Form None

I will go on building a new search form :)

Regards, Gianpiero

edit: I realized that "Search Form Sample" is the default template for its template type ::)


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Line 110, Column 177: there is no attribute "placeholder
PostPosted: Sun Aug 12, 2018 3:50 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 362
Location: Victoria, BC
Not really what I'm suggesting, no. You could either remove the placeholder parameter from the search form, or you could update your page template(s) to be html5.

_________________
Not getting the answer you need? CMSMS support options


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Line 110, Column 177: there is no attribute "placeholder
PostPosted: Sun Aug 12, 2018 5:00 pm 
Offline
Forum Members
Forum Members

Joined: Sun Jan 07, 2007 4:32 pm
Posts: 205
Location: Italy
DIGI3 thanks one more

I removed yesterday the placeholder, with no other modification and the site passed the WC3. It's enough for me now :)


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
HostPapa CMS Made Simple hosting