This topic is locked

Clear Imput

2/24/2013 7:50:51 AM
ASPRunnerPro General questions
M
Max author

HI I WOULD LIKE TO ASK FOR HELP TO ALL DELETE TEXT IN DEFAULT INPUT FIELDS WITH IN onFocus event ASPRunner Professional 7.2

THANKS TO ALL

max

Sergey Kornilov admin 2/25/2013

Here is the sample code to be added to Javascript OnLoad event. 'Amount' is the field name in this example.

var ctrl = Runner.getControl(pageid, 'Amount');

ctrl.on('focus', function(e){

ctrl.setValue('');

});