Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it
    Registrato dal
    Mar 2006
    Messaggi
    250

    Problema validazione Form ....

    Ho un problema x la validazione di una pagina di log in contenente un form ...

    mi vengono segnalati erratti perfino i
    !!!!!

    questo é il form :
    codice:
    <h2>Login</h2>
    
    
    
     <p class="normale">
         In questa pagina é possibile effettuare un login se siete già registrati o aprire un nuovo account nel caso fosse la prima volta che accedete a queste pagine.
       </p>
    
      
               <form name="datut" action="data.asp?us1=document.datins.user.value&pw1=document.datins.pass.value&n1w=document.datins.clik.value" METHOD="GET" > 
    		Inserisci UserName e password:
    
    		User Name :
    		<input type="text" name="user" size="8" value="">
    
    
    		Password:
    		<input type="text" name="pass" size="16" value="">
    
    
                    Se si é un utente già registrato cliccare sul tasto qui sotto facendo comparire "off";
    
                    se sei un nuovo utente e desideri creare un nuovo account cliccare sul medesimo tasto facendo apparire "on".
    	  		
                    
                  <input type="hidden" value="on" name="click" />
    
                  <input type="button" name="tclik" Value="on" onclick="this.value =document.datut.click.value = this.value=='on' ? 'off' : 'on'"/>
    
    
    	
    
    
    
                   <input type="Submit" name="submit" value="OK" onClick="return Convalida() "> 
                  
                                                                            		
    		<input type="Reset" value="Cancella">
    	   </form>
     											
      
    
    </div>
    La pagina dovrebbe apparire in ugual modo con Explorer e Firefox
    Errori:

    cannot generate system identifier for general entity "pw1".
    ...a.asp?us1=document.datins.user.value&pw1=docume nt.datins.pass.value&n1w=docum

    Line 122 column 81: reference to entity "pw1" for which no system identifier could be generated.
    ...sp?us1=document.datins.user.value&pw1=document. datins.pass.value&n1w=document

    Info Line 122 column 77: entity was defined here.
    ...ta.asp?us1=document.datins.user.value&pw1=docum ent.datins.pass.value&n1w=docu
    Warning Line 122 column 109: cannot generate system identifier for general entity "n1w".
    ...value&pw1=document.datins.pass.value&n1w=docume nt.datins.clik.value" METHOD="


    Error Line 122 column 109: general entity "n1w" not defined and no default entity.
    ...value&pw1=document.datins.pass.value&n1w=docume nt.datins.clik.value" METHOD="


    Error Line 122 column 112: reference to entity "n1w" for which no system identifier could be generated.
    ...ue&pw1=document.datins.pass.value&n1w=document. datins.clik.value" METHOD="GET


    Info Line 122 column 108: entity was defined here.
    ....value&pw1=document.datins.pass.value&n1w=docum ent.datins.clik.value" METHOD=
    Error Line 123 column 2: character data is not allowed here.
    Inserisci UserName e password:

    You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a

    aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).



    Error Line 123 column 35: document type does not allow element "BR" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
    Inserisci UserName e password:

    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "

    " or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").



    Error Line 125 column 50: document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
    <input type="text" name="user" size="8" value="">



    Error Line 125 column 54: document type does not allow element "BR" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
    <input type="text" name="user" size="8" value="">



    Error Line 127 column 51: document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
    <input type="text" name="pass" size="16" value="">




    Error Line 127 column 55: document type does not allow element "BR" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
    <input type="text" name="pass" size="16" value="">




    Error Line 127 column 59: document type does not allow element "BR" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
    <input type="text" name="pass" size="16" value="">




    Error Line 128 column 105: document type does not allow element "BR" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
    ...o qui sotto facendo comparire "off";



    Error Line 129 column 127: document type does not allow element "BR" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
    ...esimo tasto facendo apparire "on".



    Error Line 131 column 59: document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
    <input type="hidden" value="on" name="click" />


    Error Line 133 column 141: document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
    ...ue = this.value=='on' ? 'off' : 'on'"/>




    Error Line 133 column 146: document type does not allow element "BR" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
    ...this.value=='on' ? 'off' : 'on'"/>




    Error Line 133 column 150: document type does not allow element "BR" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
    ....value=='on' ? 'off' : 'on'"/>




    Error Line 138 column 90: document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
    ...ue="OK" onClick="return Convalida() ">


    Error Line 141 column 38: document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
    <input type="Reset" value="Cancella">


    Error Line 142 column 10: end tag for "FORM" which is not finished.
    </form>


    Grazie
    Evander

  2. #2
    Utente di HTML.it
    Registrato dal
    Mar 2006
    Messaggi
    250

    ,,,

    ho risolto una patìrte di problemi autonomamente ma ne permangono per esempio , cosa ta ad indicare il seguente errore all'interno del form?


    Line 131, column 59: document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag .
    <input type="hidden" value="on" name="click" />


    Evander

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.