Professional Documents
Culture Documents
Prajesh Desai
May 12, 2016 | 3 minute read
Follow I searched a lot, and do a lots of R&D on this. By this document i want to save
your time to write javascript syntax.
/*
Where,
INDX : index of table record. (start from zero).
LV_DATA : variable to hold data
IM_TEST : context table variable (Import parameter variable)
FIELDNAME : name of field in internal table
*/
OR if you are looping a table
/*
Where,
INDX : index of table record. (start from zero).
LV_DATA : variable to hold data
IM_TEST : context table variable (Import parameter variable)
FIELDNAME : name of field in internal table
*/
/*
Where,
this.name = name of a field. "use on initialize event
*/
this.caption.reserve = "1in";
var y = 5;
x = y % 2; //division remainder x = 1
this.rawValue = (this.rawValue).toFixed(3);
if (reg.test("Abcd")){
//expression passed
}
xfa.host.messageBox("Helloo");
var b = parseFloat(sfrmName.h) + 5;
if (b < 0) {
b = 0;
}
sfrmName.h = b + "mm";
if you are using DateTime adobe field you can directly give pattern to field.
Select DateTime Filed –> Go to property window –> click on Pattern button –>
Select accordingly
Note:
Boolean function
this.value.exData.loadXML(envelope,1,1);
Best Regards.
Prajesh Desai
Alert Moderator
Assigned Tags
adobe script
adobeformprocessing
caption
javascript
prajeshdesai