www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > JavaScript

    JavaScript JavaScript (not Java) Discussion and technical support, including AJAX and frameworks (JQuery, MooTools, Prototype...)

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 11-23-2009, 05:13 AM
    Optix Optix is offline
    Registered User
     
    Join Date: Nov 2009
    Posts: 1
    Question Validation Problem

    hey guys
    im fairly new with this stuff and im currently having a problem with validating my form:
    Code:
    <form id="form_142745" class="appnitro"  method="post" action="">
    					<div class="form_description">
    			<h2>Contact Us</h2>
    			<p>Feel free to contact us about anything.</p>
    		</div>						
    			<ul >
    			
    					<li id="li_1" >
    		<label class="description" for="element_1">Name </label>
    		<span>
    			<input id="element_1_1" name= "element_1_1" class="element text" maxlength="255" size="8" value=""/>
    			<label>First</label>
    		</span>
    		<span>
    			<input id="element_1_2" name= "element_1_2" class="element text" maxlength="255" size="14" value=""/>
    			<label>Last</label>
    		</span> 
    		</li>		<li id="li_2" >
    		<label class="description" for="element_2">Date </label>
    		<span>
    			<input id="element_2_1" name="element_2_1" class="element text" size="2" maxlength="2" value="" type="text"> /
    			<label for="element_2_1">MM</label>
    		</span>
    		<span>
    			<input id="element_2_2" name="element_2_2" class="element text" size="2" maxlength="2" value="" type="text"> /
    			<label for="element_2_2">DD</label>
    		</span>
    		<span>
    	 		<input id="element_2_3" name="element_2_3" class="element text" size="4" maxlength="4" value="" type="text">
    			<label for="element_2_3">YYYY</label>
    		</span>
    	
    		<span id="calendar_2">
    			<img id="cal_img_2" class="datepicker" src="calendar.gif" alt="Pick a date.">	
    		</span>
    		<script type="text/javascript">
    			Calendar.setup({
    			inputField	 : "element_2_3",
    			baseField    : "element_2",
    			displayArea  : "calendar_2",
    			button		 : "cal_img_2",
    			ifFormat	 : "%B %e, %Y",
    			onSelect	 : selectDate
    			});
    		</script>
    		 
    		</li>		<li id="li_6" >
    		<label class="description" for="element_6">Checkboxes </label>
    		<span>
    			<input id="element_6_1" name="element_6_1" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_6_1">Male</label>
    <input id="element_6_2" name="element_6_2" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_6_2">Female</label>
    
    		</span> 
    		</li>		<li id="li_3" >
    		<label class="description" for="element_3">Paragraph </label>
    		<div>
    			<textarea id="element_3" name="element_3" class="element textarea medium"></textarea> 
    		</div> 
    		</li>		<li id="li_4" >
    		<label class="description" for="element_4">Email </label>
    		<div>
    			<input id="element_4" name="element_4" class="element text medium" type="text" maxlength="255" value=""/> 
    		</div> 
    		</li>		<li class="section_break">
    			<h3>&nbsp;</h3>
    			<p></p>
    		</li>
    			
    					<li class="buttons">
    			    <input type="hidden" name="form_id" value="142745" />
    			    
    				<input id="saveForm" class="button_text" type="submit" name="submit" value="Submit" />
    		</li>
    			</ul>
    		</form>
            
     
    </div>
    I have seen many tutorials, they all seem different. Although i cant get any one of them to work.
    I set things up and nothing happens.
    Can someone please point me to the right direction.
    Thnx
    Reply With Quote
      #2  
    Old 11-24-2009, 06:00 AM
    Kor's Avatar
    Kor Kor is offline
    Red Devil Moderator
     
    Join Date: Dec 2003
    Location: Bucharest, ROMANIA
    Posts: 11,522
    I see no validation code. Without a code and without a validation rule it is impossible for you to receive a solution from anyone.
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 01:24 PM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.