toggle fillcolour onmouseup
Hello all,
I'm trying something very simple (at least, it seem like it should be simple!) but I can't seem to get it to work.
I'm running Pro DC.
I have a form on a pdf with the file name "front.jpg", which contains ten rows of ten square text fields (100 in total). They are labelled Front_A1, Front_A2, Front_A3...Front_A10, then Front_B1, Front_B2, Front_B3...Front_B10etc, up to Front_J10.
They are all set with the fillcolor to white (from the colorpicker wheel...). I need them to change their background color to black when the user clicks into the field. If the user then clicks in the field a second time, I want the background colour to return to white.
There is also a second pdf that is attached to the first, entitled back.pdf. contains 100 identical fields, but the horizontal order is reversed, so they go from Front_A10 down to Front_A1, as you read from left to right, and so on down the page.
Then I want to set up a button on the page, that will do the following actions:
1) Check the fillcolor of each field on front.pdf, and of it is white, make the corresponding field on back.pdf black, and if it is black, make the corresponding field on back.pdf, white.
Is that feasible?
I'm afraid I haven't got very far with this, and any spoonfed advice for a novice coder is very much appreciated in the simplest terms possible. (Assume I know nothing and you won't be far from the truth...)
Many thanks in advance for your time, and for your willingness to share your knowledge.
NathanG
