Frank Rocco
|
Posted: 06/22/2001, 6:27 AM |
|
Hello,
If I code ASP myhand, I can add custom events.
Is this possible in Codecharge (any version)?
Thanks
Frank
example
<SCRIPT LANGUAGE=VBSCRIPT>
Sub Field1_OnChange()
MyForm.Field2.Value = MyForm.Field1.value
End Sub
</SCRIPT>
<INPUT Name=Field1 size=20>
<INPUT Name=Field2 size=20>
|
|
|
CodeCharge
|
Posted: 06/22/2001, 11:53 AM |
|
If you are interested in JavaScript events, CodeCharge 1.x doesn't deal with
client-side scripting. In such case you'd need to place JavaScript somewhere
in the Header or Footer.
For server-side events, you can use "Before Show" and "Custom Show" events
since they are executed for each row of fields shown on the Grid.
You can refer to field names with prefix "fld", for example "flduser_email".
If you want something to happen automatically when the user selects a
Listbox value, you will need to use JavaScript event.
"Frank Rocco" <farocco@hotmail.com> wrote in message
news:9gvh4p$bh9$1@news.codecharge.com...
> Hello,
>
> If I code ASP myhand, I can add custom events.
> Is this possible in Codecharge (any version)?
>
> Thanks
> Frank
>
> example
> <SCRIPT LANGUAGE=VBSCRIPT>
> Sub Field1_OnChange()
> MyForm.Field2.Value = MyForm.Field1.value
> End Sub
> </SCRIPT>
>
> <INPUT Name=Field1 size=20>
> <INPUT Name=Field2 size=20>
>
>
|
|
|
|