- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Try this variation in your event.value code
var v1 = +getField("numerator").value;
var v2 = +getField("demoninator").value;
event.value = (v2 !== 0) ? (v1 / v2) : "";
This code assumes the input fields have a numeric format type. You
would replace "numerator" and "demoninator" in the code above with the
names of your fields.
Views
Replies
0 Likes
Total Likes