Acrobat Pro8 - check a box to duplicate Invoice Address field to Delivery Address


the forms creation within acrobat pro 8 absolutely marvelous i'm stuck on little thing see on websites time whereby once you've typed in invoice address example there's checkbox below along lines of "same delivery address?".

once it's checked text invoice address box gets duplicated delivery address box.

i can't work out how within acrobat pro 8 form? ideas folks?

you'll need use javascript. example, in mouse event of check box, can following:

 
// place code in mouse event of check box
if (event.target.value != "off") {

    // copy value 1 field
    getfield("address2").value = getfield("address1").value;

    // repeat other relevant fields

}


george


More discussions in Acrobat Macintosh (read-only)


adobe

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code