redha.rebouh Posted May 25, 2021 Share Posted May 25, 2021 I am working in Jaspersoft studio 6.17.0 to generate pdf with editable fields containing default text value (like a placeholder), to instruct respondents how to fill out the field but I can't get the text disappear when the respondent clicks the field. Is this possible to do it in Jasper studio (by some Jasper property or script code) ?I found this property cnet.sf.jasperreports.export.pdf.javascript but I dont know how to use it <reportElement positionType="Float" x="86" y="93" width="458" height="14" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" uuid="6ea407a5-51bf-4fe7-998e-ab5fd76ab924"> <property name="com.jaspersoft.studio.unit.y" value="cm"/> <property name="net.sf.jasperreports.export.pdf.field.type" value="Text"/> <property name="net.sf.jasperreports.export.pdf.field.text.multiline" value="false"/> <property name="net.sf.jasperreports.print.keep.full.text" value="true"/> <property name="com.jaspersoft.studio.unit.x" value="px"/> <propertyExpression name="net.sf.jasperreports.export.pdf.field.value"><![CDATA["Instructional text"]]></propertyExpression></reportElement> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now