cancel
Showing results for 
Search instead for 
Did you mean: 

Delete a row based on a condition in Adobe form

Kathiravan_S
Explorer
0 Kudos
127

Hi,

  Good day!!! We have a requirement in adobe form where we need to delete a row based on the sales orderitem category but getting a blank row which needs to be hide or deleted.Can anyone guide me how to proceed in javascript.

Have attached screenshot for your reference.

Kathiravan_S_0-1739774724491.png

SAP Forms service by Adobe 

Thanks & Regards,

Kathiravan S

View Entire Topic
Sijin_Chandran
Active Contributor
0 Kudos

Hello,

Can you try using "Hidden" feature for all the individual Line Items Text Elements OR for the whole Line Item Row, 

Something like,

if (wbs_text.rawValue = Null)  { 
wbs_text.presence = "hidden";  
}

Thanks,

Sijin

Kathiravan_S
Explorer
0 Kudos
Hi sin, Thanks for your feedback,we have tried this but still same.
Sijin_Chandran
Active Contributor
0 Kudos
Hi, I think the only solution here is to delete the record from the Internal Table i.e. at the Context level. Can you try that?
Kathiravan_S
Explorer
0 Kudos
Hi sin, can you guide how to get the table from data source to populate into an internal table using javascript inside INITIALIZE event in adobe form or if you have any blogs please share us
Sijin_Chandran
Active Contributor
0 Kudos
Not at Form Level(i.e. JavaScript or FormCalc) , delete the row at the source only that is your Driver Program.