Re: Custom Tags or Modular Code

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36971
interpreted = N
texte = Probably the closest you can come to that is to write it as a self-contained include file, then you can use a [showif ..][/showif] test.On Fri, 06 Jul 2001 08:59:07 Andrew Simpson wrote: > 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Custom Tags or Modular Code (Peter Werno 2001)
  2. Re: Custom Tags or Modular Code (Andrew Simpson 2001)
  3. Re: Custom Tags or Modular Code (Brian Boegershausen 2001)
  4. Custom Tags or Modular Code (Andrew Simpson 2001)
  5. Re: Custom Tags or Modular Code (Dale Therio 2001)
Probably the closest you can come to that is to write it as a self-contained include file, then you can use a [showif ..][/showif] test.On Fri, 06 Jul 2001 08:59:07 Andrew Simpson wrote: > 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/ Dale Therio

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:

[movefile] (1999) encrypted query string trouble on OSX (2001) Re:Emailer setup (1997) still facing truncated [texta] problem (2000) Version 6 Problems (2004) Search context not finding recent entries (1998) Replace context problem ... (1997) Country & Ship-to address & other fields ? (1997) [append] vs. [appendfile] delta + question? (1997) Bad Cookie (1998) Kaaaaahhhhhhhnnnnnnn! (1997) frames & carts (1997) select multiple (1997) OT: Flash artist needed (2005) Auto entering Friday's date in a field (2002) [OT] Web Site Mapping Software (2000) NT 2.1b10 (1998) Founditems (1998) any ideas on why DOC can't execute an executable? (1998) Date problems (1997)