WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Javascript question

 
   Home -> Office other -> Programming RSS
Next:  Programming: Can't get external javascript to run within FP2003  
Author Message
nadesico

External


Since: Nov 15, 2006
Posts: 6



(Msg. 1) Posted: Mon Jun 30, 2008 7:52 pm
Post subject: Javascript question Add to elertz
Archived from groups: microsoft>public>frontpage>programming (more info?)

I have a validation in my .asp page and wanted to alter it so the client
cannot place a space in the [ServiceFormat_OtherDesc] field, because now the
client cannot leave the field blank, but they can place a space in the field
and it will be accepted. Any help would be greatly appreciated. Thanks

function Validate(){
i=0
chosen = ""
for(i=0; i<document.Page3["ServiceFormat"].length; i++){
if(document.Page3["ServiceFormat"][i].selected){
chosen = chosen + document.Page3["ServiceFormat"][i].value
if(document.Page3["ServiceFormat"][i].value == "06" &&
document.Page3.ServiceFormat_OtherDesc.value == ""){
alert("Please Fill In Service Format Other Description");
document.Page3["ServiceFormat"].focus();
return false;}
}
}
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Programming All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET