cancel
Showing results for 
Search instead for 
Did you mean: 

Delete empty space and replace next field value in adobe form

uirji_netweaver
Participant

Hi Team,

i need to print the address in adobe form like below

Text1 , Text2, Text4<br>Text5<br>Text6 Text7 Text8<br>Text9.

Incase Text 1 and Text5 are blank values it should be print asbelow

Text2, Text4<br>Text6 Text7 Text8<br>Text 9.

i used the below script in form:ready , and also maintained subform content as flowed but it is still not printing the blank space, please help me with wrire procedure

if ((this.rawvalue == null) || (this.rawvalue == "")) {<br>this.presence = "hidden" } 

Thanks

NK

Sandra_Rossi
Active Contributor

I'm copying the question better formatted + one comment from the OP, to clarify the question, that will help anyone who visits the question now:

Question:

"i need to print the address in adobe form like below"

Text1 Text2 Text4
Text5
Text6 Text7 Text8
Text9

"In case Text1 and Text5 are blank values it should be print as below"

Text2 Text4
Text6 Text7 Text8
Text 9

i used the below script in form:ready , and also maintained subform content as flowed but it is still not printing the blank space, please help me with wrire procedure

if ((this.rawvalue == null) || (this.rawvalue == "")) {<br>this.presence = "hidden" } 

Comment:

"i want delete empty space and replace it with next field value."

"here Text1 is blank , so Text2 should print from the place where Text1 is started, Text5 is blank so the next row (Text6 Text7 Text8) should come up and print as below"

([ed.] also Text5 is blank)

View Entire Topic
BEKOStan
Active Participant

Hi uirji.netweaver ,

what is the produced output in your case? Like The following?

Text2, Text4
<blank line>
Text6 Text7 Text8
Text 9.

Can you provide some more screenshots/infos please?

BR

Andreas

uirji_netweaver
Participant
0 Kudos

Thanks for the reply , i want delete empty space and replace it with next field value.

here Teaxt1 is blank , so Text2 should print from the place where Text1 is started, Text5 is blank so the next row (Text6 Text7 Text8) should come up and print as below

BEKOStan
Active Participant
0 Kudos

Hi uirji.netweaver

with screenshots of hierarchy and design page it would be easier to get 😉

Are your fields located on a MASTER PAGE? If yes, your issue can be solved by putting the address fields on the design page, away. (see thread on similar question).

BR

Andreas

uirji_netweaver
Participant

Hi Andreas Stankovsky,

I believe the fields are in designer view (Please see the screenshot below)

Thank you