Expand my Community achievements bar.

event.target.URL

Avatar

Former Community Member
Hi

I javascript we can call:



myfield.rawValue = event.target.URL;



Is it possible to do the same funktion if my script is FormCalc ?
2 Replies

Avatar

Former Community Member
I don't think it's possible. Since "event.target" is a JavaScript object, it's unlikely you would be able to access it from a script which is being interpreted by the FormCalc Script Engine.



Stefan

Adobe Systems

Avatar

Former Community Member
No it wouldn't. The URL attribute comes from the Document object in Acrobat's scripting model. Unlike the XFA scripting model, the Acrobat scripting model is only available in JavaScript, not FormCalc.



Chris

Adobe Enterprise Developer Support