cancel
Showing results for 
Search instead for 
Did you mean: 

How to take up hidden feilds space at PDF form display

Former Member
0 Kudos

Hi,

I have a problem. At runtime some of my feilds may not have values. In that case I want the other feilds with values to take up that empty space.

I have wrped all textfeilds in subforms as Content : Flowed and finaly wrapped them under subform as content:Flowed. Used the below mentioned javascript under form:ready event.

But stil its not working. Would you please suggest me on this.

< My senario >

// in the layout design-binded to database values

textfield1:Name

textfeild2 : landline number

textfield3:cellnumber

<javascript used>

data.mainsub.childsub.TextField2::ready:form - (JavaScript, client)

if(this.rawValue==null){

sample.presence="hidden";

this.presence="hidden";

}

if I dont have landline number , cellnumber number need to take up that empty space at runtime. Please suggest.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

viralkumar_patel
Explorer
0 Kudos

Hi Sushmitha,

I am also looking for help in similar kind of situation, I want to hide some subform based on entries available in the context of form.

Kindly let me know if you already got the solution.

Thanks & Regards,

Viral