Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Change Appearance of a textfield from sunken box to none dynamically


My requirement is while the user print a form, the text field which i put on my interactive form, the border should not appear in the printing document.

My text field is a sunken box type. and i want when the user click the print button the document rendered to printer , in that text fileds appearance should change to none.

here is my code. the event is firing, however its not giving me the expected output.


DataSource.#subform[1].ProductDistinctions::prePrint - (JavaScript, client) -

var objField=xfa.resolveNode("DataSource.#subform[1].ProductDistinctions");



DataSource.#subform[1].ProductDistinctions::postPrint - (JavaScript, client) -

var objField=xfa.resolveNode("DataSource.#subform[1].ProductDistinctions");


Please help .

Thanks a lot .



Former Member
Not what you were looking for? View more on this topic or Ask a question