AccessList.insertItemAt(cChoice, "s", 0); AuthList.insertItemAt("Director____________________________________" , "s", 0); AuthList.insertItemAt("Sign" , "s", 0); this.addField(cChoice, "signature");
the top 3 line works fine but i cant get the last line to work
i need some help please
You can't add a field to a listbox.
As mentioned, that is not possible. What you can do, though, is create a separate Digital Signature field and then show it when the Sign option is selected (and hide it when it's not).
is there a possiable way to dynamicly add them to the page as required, rather then just hiding them and unhiding them
Assuming the file will be used in Reader, no. Also, the effect will be exactly the same, only hiding/showing them is much easier than creating/deleting them. PDF files are not dynamic in this way. They don't "re-flow" when you add/remove fields.
that makes it difficult as i have multiple different areas they can be selected from a drop down box with each area requiring different authorisation. my plan was to the the signature populate with the required person job title and then the signature field beside.
You can still do that... The signatures can be overlapping until you decide to show them.
And you can use a text field to fill in the person's title, if you wish.