Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: webdb form question

RE: webdb form question

From: Diana Duncan <Diana_at_fileFRENZY.com>
Date: Tue, 28 Nov 2000 10:06:17 -0500
Message-Id: <10694.123071@fatcity.com>


Long,

This is actually a Javascript question, having nothing to do (particularly) with WebDB, hence the probable silence of the list. The best place I've found to look up Javascript stuff is http://msdn.microsoft.com/ie/ (I know, Microsoft, yuck, but they have some good documentation here) and http://developer.netscape.com/docs/manuals/index.html?content=ssjs.html which is the Javascript manuals.

Anyway, to reference a form field (assumning your field name is "theElement") you usually need to do something like:

forms[0].theElement.value

or

forms[0].elements[i].value (where i is the index of the field)

or

myForm.theElement.value (where myForm is the name if the form)

HTH, Diana

-----Original Message-----
From: Nguyen, Long [mailto:Long.Nguyen_at_its.csiro.au] Sent: Monday, November 27, 2000 5:16 PM
To: Multiple recipients of list ORACLE-L Subject: webdb form question

Hi,

What I found about webdb is that the manuals are not comprehensive. It is really hard to work without sufficient info. So ... I am seeking for your help.

If I write a javascript within a form (either as a script to do field validation or form validation for a particular field, or as a script included in the "Header" or "Footer" of the Text Option), how can I refer to a particular field within the form? I have searched but have not been able to find this info in the webdb manuals.

(I know that in a field/form validation script for a particular field you can refer to the field as 'theElement' and the field value as 'theElement.valule', but that's all I know. But how do you refer to other Received on Tue Nov 28 2000 - 09:06:17 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US