cancel
Showing results for 
Search instead for 
Did you mean: 

how to hide field in adobe Forms

Former Member
0 Kudos

i am currently trying to print purchase order where i have 5 line item and the 5th item is delivered so for that i want to display a text but the problem is iit displaying in line item 10 can anyone please how to print it in 5th line

Accepted Solutions (1)

Accepted Solutions (1)

rakesh_m2
Contributor
0 Kudos

Hello Ashishi,

As far as I understood, you need to print like thisl

PO Number Line Item Delivered

1 10

1 20

1 30 Delivered

1 40

1 50 Delivered

If you want to print like this for items which you have delivered, you need to maintain a text field along with purchase order and line item and maintain delivery text in that text field and display it like how you display purchase order.

Thanks,

Rakesh

Answers (2)

Answers (2)

Former Member
0 Kudos

Hii,

Try to add one more field for text field for each line item and make sure use a flag .

if the flag is true then make it visible use the below JavaScript code to hide a particular field.

his script will hide the field in runtime if it is initial.

hidden or presence make sure use the conditions as per the require to hide the text or to make it visible

Enter the below JavaScript in the editor & Select the language as JavaScript.

if(this.rawValue == null)

{

this.presence = "hidden";

}

Edited by: Rajan.Dexter9 on Jan 20, 2012 12:17 PM

diego_santos
Employee
Employee
0 Kudos

Hi,

It seems you are using print forms, that means static forms. If you want to hide fields, then you have to use Interactive Forms.

From SAP backend you will not be able to do so, unless you use a WDA or WD Java application.

Please clarify better your request and scenario.

Regards,

Diego

Former Member
0 Kudos

Hi Ashish,

Can yuo please elaborate more on your requireemnt.

thanks

Pooja