[scribus] Please help!

Ali Qazi aliqazee at gmail.com
Fri Jun 22 05:21:41 UTC 2012


I am working on PDF Forms. I want to put some validations and
enable/disable a text firled code using Javascript. Can anybody please help
me with it.

the code that I used to make it a required field in Javascript editor is:

var a = this.getField("firstName");
a.required = true;

and for Disbaling / enabing the text field i have used
var f = this.getField("p_ID");
f.display = f.hidden;

Please help me with it
-- 

 *Regards,

 Ali Qazi*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20120622/74b52f3d/attachment.html>


More information about the scribus mailing list