Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using inline expressions for value property
Message
From
26/09/2001 18:14:37
 
 
To
All
General information
Forum:
Internet
Category:
Javascript
Title:
Using inline expressions for value property
Miscellaneous
Thread ID:
00561252
Message ID:
00561252
Views:
57
In Internet Explorer, I have a form with three test input fields.
I need that thir field will display sum of two previous fields.
I know that this can be done by using

f3.setExpression( 'value', 'f1.value+f2.value' )

in form onload event.

However, I need to set dynamic value property directly in f3 without script.

MS KB says I can use dynamic expression for value property, but the following code will not work. How to implement this ?
Remove spaces after < character in the following code.
Field1 < input name=f1 >
Field2 < input name=f2 >
Sum < input name=f3 value=javascript:"return f1.value+f2.value;" >
Andrus
Next
Reply
Map
View

Click here to load this message in the networking platform