vasant - Monday, December 12, 2011 7:03 AM:
Hello,
I have a form having two
fields.
1. A Button
2. A Text Box
While clicking on Button I want some text to be printed on Text Box
I have Written an FieldEvent on Button "OnClick" but does not found Result:
var
result=top.aras.applyMethod("GoToMethod",""); //Calls My Method named 'GoToMethod'
var thisItem = document.thisItem;
var field =getFieldByName("html0");
field.value=result;//set the value of my Text Field
handleItemChange("html0", field.value);
alert(thisItem.getProperty("html0")); //shows result as
"undefined"
Please Help...
Thanks,
Vasant
Sachin - Tuesday, December 13, 2011 3:25 AM:
Hi Vasant,
When you click on the Button at that point you want to print something on the Text Box
below code may work
A Button Onlick Event (Java Script)
this.form.<text Box Name>.value="Print String ";
Cheers!!
Sachin...