Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Once again my boss wants some wierd feature on Acrobat

Status
Not open for further replies.

GUJUm0deL

Programmer
Jan 16, 2001
3,676
US
Once again my boss wants some wierd feature put on the PDF forms. There are many elements in the PDF form, but there are two sections that have the same name. Because if the user enters information there, then the same information has to go in the other section (the ones with the same names). Now what we want done is: When the user enters the info. on one section, they cannot edit the relavant information in the second section (the ones with the same names)...OR, have some kind of an alert pop-up...
Know what I mean?? I have not failed; I merely found 100,000 different ways of not succeding...
 
Anyone have any ideas?? I have not failed; I merely found 100,000 different ways of not succeding...
 
any help here?? I have not failed; I merely found 100,000 different ways of not succeding...
 
so, what's your problem, GUJU?

i havent messed with adobe & javascript yet, so you tell me, can you access those sections there? i guess you can.. so, in the relevant section you check:

if (theOtherSection.theSameObjName.value){
this.blur()
}

or something.. it have to be simple.. Victor
 
i'll try that and let you know...I never played with acrobat and JS before...I looked at the book and it was no help whatsoever. I have not failed; I merely found 100,000 different ways of not succeding...
 
Nope you can't access OtherSections...beacuse the only thing that can be editable are the Field Properties' 'Name' and 'Type' and other misc. information like 'Appearance' and 'Action'...
There isn't a way to check theOtherSection and see if a value has been entered to validate...
I have not failed; I merely found 100,000 different ways of not succeding...
 
woops.. looks like i kan't help you for now.. Victor
 
It's ok man, thanks for the help anyways... I have not failed; I merely found 100,000 different ways of not succeding...
 
I do not have an answer for you but maybe YOU can give pointers.

I have a form that has been scanned and made into a PDF, I need to find a way to fill the form using fields from a database or a web form. This seems to be what you are doing, can you point in the right direction ?

How can I do that ?

Thanks
 
cinolas, we're using Coldfusion here, so assuming that you are using coldfusion this is how you can do it:
1) On the PDF form create a button and point to an action.cfm page
2) In the action.cfm page call the <cfmupdate> tag
3) Make sure that all the field names are same in the database and the PDF file.

PS -- In the action.cfm page you can either call certian fields or call all the fields...that is up to you... I have not failed; I merely found 100,000 different ways of not succeding...
 
so the pdf just passes your form field values like a normal html form? thats better than nothing.
 
It sure does, we're using coldfusion, but might be doabl;e using just Acess...
What we do is create the PDF and link it to the action.cfm page and in that page have it display the field on another HTML page and populate the database...using the <cfmupdate> I have not failed; I merely found 100,000 different ways of not succeding...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top