Hello,
I am having issues with the actual javascript. I want to restrict the input to only allow numbers in the textbox.
The error I am getting is "Input string was not in a correct format".
The javascript im using is directly from the adobe guide here. Page 84. "
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_developer_guide.pdf"Any suggestions? Is the javascript handled differently in Syncfusion?
if ( event.willCommit ) {
var value = ""+event.value.replace(/\s*/g,"");
if ( value != "" ) {
if (!isFinite(value)) {
app.beep(0);
event.rc = false;
}
}
} else if ( event.change == " " ) {
event.change = "";
}