Jump to content
  • 0

Помогите исправить ошибки из validator.w3.org


ksu_asf
 Share

Question

Сайт на umi.cms

При проверке сайта на validator.w3.org выдает ошибки

Untitled.png.b77df804eae5678aa2cea153ac8a9856.png

в файле с шаблоном add.xsl прописан вот такой код для формы

 <xsl:template match="udata[@module = 'webforms'][@method = 'add']" mode="form">
      <form enctype="multipart/form-data" method="post" action="/webforms/send/" class="akcyia">
        <input type="hidden" name="system_form_id" value="174" />
        <input type="hidden" name="system_template" value="webforms" />
        <input type="hidden" value="/webforms/posted/" name="ref_onsuccess" />
        <xsl:apply-templates select="items" mode="address"/>

        <table style="width:400px;border:0px;">
           <xsl:apply-templates select="groups/group" mode="webforms1"/>
        
        </table>
        
        <table style="width:400px;border:0px;">
        <tr>
          <td >
            <input class="akciya_button" type="submit" value="Отправить заявку" />
          </td>
        </tr>
        </table>
      </form>
    </xsl:template>

Подскажите, пожалуйста, как можно исправить эти ошибки?

 

 

 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Такое ощущение что сервер отдаёт

<input type="hidden" name="system_form_id" value="174"><input/>

а не

<input type="hidden" name="system_form_id" value="174" />

В этом и ошибка

* как исправить в рамках CMS не подскажу, в глаза её не видел

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy