on 02-05-2008 1:59 AM
Hi,
I am working on adobe form. Could some one answer my question "How to reduce empty space in the form ?".
For Instance, if there are four fields that are display in the form then at runtime if the first three fields are empty. then i want to hide and reduce space so that the 4th fields come up to 1st field's position.
Thanx in advance.
Hi, This can be achieved using java script.
But all these 4 elements needs to be wrapped in side a subform and content type of this subform should be selected as Flowed.
Then through Java script you have to set the presence properties of the Field to "hidden" according to the runtime data.
On Form:Ready event you have to check the values and set the presence properties to "hidden".
Sample code
Form1.Page1.SubForm1.TextField1.presence = "hidden";
Try this out first in test form and let me know if this is working or not.
But you have to set the Content property of subform to "Flowed". This is most important.
Cheers
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it will work.. I never suggest any code which will not work in your scenario.
you should atleast tell us what is the problem you are facing. only one liner will not help you here at the forum to help you out.
If you really want to know the problem with your code.. send me the PDF file ...in my email address p_satya123@yahoo.com
cheers
Satya
I Thank you all for helping me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.