Copy link to clipboard
Copied
Hi, I'm new to pdf forms editing and doing my own experiments here, and found this inconvenience.
This started after having 10 or so buttons with mouse up actions, some even with some simple javascript added to it.
After clicking a button (any with the "hide a field" action tied up to it), all interactive fields (even the same buttons) in the entire document become impossible to edit (no matter if they are number, text, radio, other buttons, combo boxes...), when clicking, the typing arrow blinks very briefly, followed by the box deselection. The same "lock" does NOT trigger when clicking other form of select boxes such as radio (the file has 3 sets of those) or check boxes (more than 20) or buttons that de/increment other fields with javascript.
The only way around it I found was to either (on reader) close and reopen, or (on editor), switch between editing/viewing tools.
While on editor it is a minor nuisance, for form users filling it through a reader it is pretty awful. I'd really like to know if there's a way to avoid this.
Is this a known issue? Would someone have a solution or idea whats going on? Couldn't find anything like that browsing around so it must be something on my editing...
Thanks!
EDIT: More specifically, I narrowed it down to buttons that have the action to hide itself. (And that is quite a decent feature for what I'm building here, so solutions different than "don't have the buttons hide themselves on click" would be much appreciated.)
Hi, thanks. After trying many things I figured a workaround that, this time, is good enough.
Well actually it does the same thing than setting a mouse up "hide itself", but from a different code path.
I set up an action, mouse up, run Javascript:
var w = this.getField("buttonX");
w.display = display.hidden;
It does all its other on click operations, and the js code hides it. And the other fields are fillable/clickable.
On the error itself, maybe something with versions... I noticed using different rea
...Copy link to clipboard
Copied
It's hard to say what's wrong without seeing a sample PDF. It could be something with how the buttons are configured or a bug with Acrobat/Reader. If you can post one somewhere, I'd be happy to take a look.
Copy link to clipboard
Copied
Hi, thanks. After trying many things I figured a workaround that, this time, is good enough.
Well actually it does the same thing than setting a mouse up "hide itself", but from a different code path.
I set up an action, mouse up, run Javascript:
var w = this.getField("buttonX");
w.display = display.hidden;
It does all its other on click operations, and the js code hides it. And the other fields are fillable/clickable.
On the error itself, maybe something with versions... I noticed using different readers/editors, each behaved differently...
But it's done, if anyone else comes to this impasse, try this, worked for me (god bless js)
Find more inspiration, events, and resources on the new Adobe Community
Explore Now