Print Page | Close Window

Move to specific record 2 values??

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=4868
Printed Date: 30 March 2026 at 1:12pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Move to specific record 2 values??
Posted By: jellejacob
Subject: Move to specific record 2 values??
Date Posted: 08 August 2003 at 7:46am

I hope someone on this forum is using Dreamweaver MX to create dynamic pages.

Is it possible to use the move to specific record behaviour depending on two values??




Replies:
Posted By: 3BEPb
Date Posted: 11 August 2003 at 12:36am

I'm not sure "Dream" can do this using their own javascript templates (If I understoon you correctly). Thus I prefer handcoding.

For example:

 var tag=document.addnew.Name.value
 if ((tag.indexOf("<")!=-1) || (tag.indexOf(">")!=-1))
 {
  window.alert("No HTML tags...!")
  document.addnew.Name.focus();
  return false; 
 }

The keypoint is "||" sign for "or" statement, so just add it manually into Dream's custom code with second argument.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net