on 11-02-2009 9:38 AM
Dear friends
How are you!
I need one help to understand... how can insert input fields dynamically in the adobe form; what happends with me is let me explain you
Well I have 7 fields
Domain ID : ________________ [Assign Domain ID]
E-mail : ________________ [ Assign E-mail ID]
DID : ________________
Extension :_________________
Mobile :_________________ [ Assign Telephone ]
Portal :_________________[ Assign Portal ID ]
Access/Bio :_______________[Assign Access]
above are the fields who are part of my form. now I am hidding the fields based on user selection like if i need to select only Domain and Access then rest of the fields will the invisible in the form. but now what happends when i am hiding the fields I have the large spaces between them.. like:
E-mail : ________________ [ Assign E-mail ID]
Access/Bio :_______________[Assign Access]
can you please tell me how can i remove those spaces and get the design like this:
E-mail : ________________ [ Assign E-mail ID]
Access/Bio :_______________[Assign Access]
please give me any idea , i ll appreciate any help of yours.
Thanking you
Regards
Naeem
Hello, have you solved your problem? Maybe you can share your experience and results with us? Thank you, Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Based on two previous answers I tried but problem was the same, spaces was there...
the answer chintan was perfect but i used multiple subforms to solve that.
solution:
I get all the conditional values in form and used them in Java script to hide the boxes.
1). I attached subform to each and every box, and named them as 1 . 2. 3. 4. 5. and made them as flowed.
2) I selected all the subforms and wrap them in the one more subform and made it as flowed. Only problem was in this case the order of subforms get changed and determind by system only i dont know why. except this bug we completed the task.
Thanks
Hi,
I have the same 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 tried steps mentioned by you and adding following javascript in form:ready event. But stil its not working. Would you please suggest me on this.
<javascript used>
data.Subform1.#subform[1].sample.TextField2::ready:form - (JavaScript, client)
if(this.rawValue==null){
sample.presence="hidden";
this.presence="hidden";
}
< My senario >
// in the layout design
textfield1:Name
textfeild2 : landline number
textfield3:cellnumber
if I dont have landline number , cellnumber number need to take up that empty space.
Hi,
As suggested, wrapping all the fields in a subform of type "Flowed" will solve the issue however we need to make sure that the fields are kept "hidden" not "Invisible".
You can also check the bottom margin for your field E-mail. if this field has bottom margin, the next filed will be separated by that margin space. So remove if there is margin given.
Thanks and regards,
Priyanka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wrap all the fields inside a subform and set it to Flowed. This would ensure that even though you have hidden elements it would not take space.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.