I have a search page set up that works fine using the wizard's built-in
settings. The text box that is being used for the search is called
tbCUSTOMER_NAME and has a query type of explicit. the query operators are
begin with, contains, and equal to. so far, so good.
However, the search needs to be performed with all upper case. I wanted to
use a javascript such as ...
<INPUT TYPE=TEXT NAME="tbCUSTOMER_NAME" VALUE="**tbCUSTOMER_NAME**"
MAXLENGTH=41 SIZE=41
onChange="javascript:this.value=this.value.toUpperCase();">
I had placed this tag in the UserDefinedHTML property, but in doing so, it
replaces the wizard-generated combo box and text box with a single text box
which no longer functions when doing a search. Is there a way to add
javascript to an explicit search field? If not, what would be the best way
to ensure that the data the user submits is formatted in all caps?
thanks,
Nathan
-----Original Message-----
From: Curt Springer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 14, 1999 9:59 AM
To: Colm Moynihan
Cc: [EMAIL PROTECTED]
Subject: Re: [ND] Hidding HREF dynamcially
AFAIK, setVisible works for any visual object, including an href, but it is
a little tricky. You have to specify it before a certain point in
processing, otherwise it doesn't take effect until the _next_ display
(particularly in 'repeated' situations).
-- Curt Springer, Team ND
At 12:06 AM 9/14/99 -0700, Colm Moynihan wrote:
>Hi,
>
>I have a Search button on one screen which opens another screen.
>I am having a problem hidding the HREF on the other screen.
>
>I have tried load(false) however I need to set a few fields on the other
>screen
>I have tried setvisible doesn't work on HREFs
>I have tried setdisplayFieldValue does work for HREFs
>I have tried processEvent doesn't seem to work
>
>I know how to hide a HREF by using the following code
>public int hrNext_onBeforeDisplayEvent(CSpDisplayEvent event)
> {
> if (arrayOfVarDescs !=null && arrayOfModDescs != null
> && arrayOfVarDescs.length > nextOffset && arrayOfModDescs.length >
> nextOffset && nextOffset!=100)
> return(PROCEED);
> else
> return (SKIP);
>
> }
>
>
>Any suggestions ??
>
>Colm
>_________________________________________________________________________
>
>For help in using, subscribing, and unsubscribing to the discussion
>forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
>For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]
PG&E Gas Transmission Texas and any other company referenced herein which uses the
PG&E name or logo are not the same company as Pacific Gas and Electric Company, the
California utility. These companies are not regulated by the California Public
Utilities Commission, and customers do not have to buy products from these companies
in order to continue to receive quality regulated services from the utility.
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]