What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: _ in front of field name

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18913
interpreted = N
texte = >>At 13:31 Uhr 15.07.1998, Sue Ann Sanders wrote: >>>What is the significance of a _ in front of the field names within a >>>form?At 14:41 Uhr 15.07.1998, Sue Ann Sanders wrote: >Is there documentation on this _ thing?No, you can use anything. It is just helpful for the programmer and has no special meaning to WebCat. Name it sue.Date if you like. I recommend to use a prefix only, not a suffix to mark your fields and variables. This is easier to handle. If you submit a form with WebCat ALL variables and fields go to the following page. You can check this with [formvariables]. If you have your special prefix, it is easy to find out wether a variable is a form field or not. >Is there a list of reserved words?Yes for variables: all commands of WebCat ;-) (a form field is a variable too, once the form got submitted) But instead comparing all self-invented name against the list of commands, we simply add something to the name - to avoid conflicts.Generally: if you have your own unique names for fields and variables, you are on the safe side. For example v.MyName for a variable and f.MyName for a field will let you easily find out which kind of variable you are dealing with, and they get never confused with WebCat-commands.To see what we are talking about, set up a simple page with a form like this:
And on the page response.tpl you write: [formvariables] [name]=[value]
[/formvariables]Then fill in the fields and submit the form: response.tpl will list all variables it got from the previous page, line by line. Now you can imagine that it is quite easy to find out which variables are user-entered fields and do some action on them. Peter__________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Associated Messages, from the most recent to the oldest:

    
  1. Re: _ in front of field name (Kenneth Grome 1998)
  2. Re: _ in front of field name (Kenneth Grome 1998)
  3. Re: _ in front of field name (Peter Ostry 1998)
  4. Re: _ in front of field name (Brian B. Burton 1998)
  5. Re: _ in front of field name (John Hill 1998)
  6. Re: _ in front of field name (Sue Ann Sanders 1998)
  7. Re: _ in front of field name (Peter Ostry 1998)
  8. _ in front of field name (Sue Ann Sanders 1998)
>>At 13:31 Uhr 15.07.1998, Sue Ann Sanders wrote: >>>What is the significance of a _ in front of the field names within a >>>form?At 14:41 Uhr 15.07.1998, Sue Ann Sanders wrote: >Is there documentation on this _ thing?No, you can use anything. It is just helpful for the programmer and has no special meaning to WebCat. Name it sue.Date if you like. I recommend to use a prefix only, not a suffix to mark your fields and variables. This is easier to handle. If you submit a form with WebCat ALL variables and fields go to the following page. You can check this with [formvariables]. If you have your special prefix, it is easy to find out wether a variable is a form field or not. >Is there a list of reserved words?Yes for variables: all commands of WebCat ;-) (a form field is a variable too, once the form got submitted) But instead comparing all self-invented name against the list of commands, we simply add something to the name - to avoid conflicts.Generally: if you have your own unique names for fields and variables, you are on the safe side. For example v.MyName for a variable and f.MyName for a field will let you easily find out which kind of variable you are dealing with, and they get never confused with WebCat-commands.To see what we are talking about, set up a simple page with a form like this:
[date]>
And on the page response.tpl you write: [formvariables] [name]=[value]
[/formvariables]Then fill in the fields and submit the form: response.tpl will list all variables it got from the previous page, line by line. Now you can imagine that it is quite easy to find out which variables are user-entered fields and do some action on them. Peter__________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Peter Ostry

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:

WebDNA Verison 4.5 will Not Restart! This SUCKS! (2002) Interfacing WebMerchant to www.fedex.com (1997) webcatalog and webmerchant 2.1 (1998) Problems setting MIME Headers (1998) PROBLEM (1997) [WebDNA] Authorize working connection... (2020) {middle} and variables (2002) Mac Vs WindowsNT (1997) random in arizona (2003) New: [WebDNA] Help with ReplaceFoundItems (2009) How many Databases can I open? (2003) WebCat2b12--[searchstring] bug (1997) WC Database Format (1997) Re:quit command on NT (1997) Emailing html (1998) Help name our technology! (1997) problems with 2 tags (1997) Sku numbers (1997) Just Testing (1997) Authenticate (1997)