Re: Custom Tags or Modular Code
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37021
interpreted = N
texte = Not necessarily.You can pass variables on to include-files such as:[include file=myinclude.inc&email=[emailfromform]]this way, within the myinclude.inc - file you can use [email] whilst onthe main page you can have a different name.Ciao,PeterOn Fri, 06 Jul 2001 09:25:04 Andrew Simpson
wrote:> on 6/7/01 9:07 AM, Brian Boegershausen at brian@orderbywire.com> wrote:> > > Write your code to take an email check it, and return T if it is> okay, and F> > if it is bad.> > Make it an include file and put it in the webcat root.> > Then you can use it on anysite on the server> > [showif [include file=^emailchecker.inc]=T]The email is> good[/showif]> > > > Brian Boegershausen> > ----- Original Message -----> > From: Andrew Simpson > > To: WebCatalog Talk > > Sent: Thursday, July 05, 2001 4:59 PM> > Subject: Custom Tags or Modular Code> > > > > >> Is there any way you can define custom tags in webDNA.> >> > >> For Example I have written a small validation routine to check> email> >> addresses so that they are valid before using the [sendmail] tag.> >> > >> Is it possible to encapsulate this in a custom tag or preferably> define a> >> function containing this routine that could be called/ passed the> string> > and> >> return some boolean value indicating validity.> >> > >> > >> -------------------------------------------------------------> >> This message is sent to you because you are subscribed to> >> the mailing list .> >> To unsubscribe, E-mail to: > >> To switch to the DIGEST mode, E-mail to> > > >> Web Archive of this list is at: http://search.smithmicro.com/> > > > > > -------------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list .> > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to> > > > Web Archive of this list is at: http://search.smithmicro.com/> > > > So all I would have to do is ensure that the variable passed to the> template, containing the email addresses to check, are always the> same???> > Yes?> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Not necessarily.You can pass variables on to include-files such as:[include file=myinclude.inc&email=[emailfromform]]this way, within the myinclude.inc - file you can use [email] whilst onthe main page you can have a different name.Ciao,PeterOn Fri, 06 Jul 2001 09:25:04 Andrew Simpson wrote:> on 6/7/01 9:07 AM, Brian Boegershausen at brian@orderbywire.com> wrote:> > > Write your code to take an email check it, and return T if it is> okay, and F> > if it is bad.> > Make it an include file and put it in the webcat root.> > Then you can use it on anysite on the server> > [showif [include file=^emailchecker.inc]=T]The email is> good[/showif]> > > > Brian Boegershausen> > ----- Original Message -----> > From: Andrew Simpson > > To: WebCatalog Talk > > Sent: Thursday, July 05, 2001 4:59 PM> > Subject: Custom Tags or Modular Code> > > > > >> Is there any way you can define custom tags in webDNA.> >> > >> For Example I have written a small validation routine to check> email> >> addresses so that they are valid before using the [sendmail] tag.> >> > >> Is it possible to encapsulate this in a custom tag or preferably> define a> >> function containing this routine that could be called/ passed the> string> > and> >> return some boolean value indicating validity.> >> > >> > >> -------------------------------------------------------------> >> This message is sent to you because you are subscribed to> >> the mailing list .> >> To unsubscribe, E-mail to: > >> To switch to the DIGEST mode, E-mail to> > > >> Web Archive of this list is at: http://search.smithmicro.com/> > > > > > -------------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list .> > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to> > > > Web Archive of this list is at: http://search.smithmicro.com/> > > > So all I would have to do is ensure that the variable passed to the> template, containing the email addresses to check, are always the> same???> > Yes?> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Peter Werno
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
off topic - dna snipets (1997)
how to know the [LineIndex] number webcat generated during a [AddLineItem]? (2000)
international time (1997)
[Fwd: Rotating Banners ... (was LinkExchange)] (1997)
Announcing general availabilty of WebDNA 4.5 release (2002)
[WebDNA] shopping sites and the "old commerce tags" (2012)
spawn (1998)
[search] resources (code.. longish sorry) (2000)
I give up!! (1997)
multiple databases (1997)
Deleting Orders (1997)
Frames (1997)
Cobalt RaQ Installation (2003)
emailer w/F2 (1997)
Navigator 4.01 (1997)
Nested tags count question (1997)
ASP on OSX (2004)
Using Cookie for client specific info? (1997)
apostrophe in search item (1997)
stuck time (1998)