Skip to main content

Hi,

 

Does anyone know how to add a watermark to a form like in a word document e.g. to say IN DRAFT across each page.

 

Thanks

Sana

Hi Sana,


 


Set the following script as an expression on a data label and check the Literal property of the data label:


 


<script type="text/javascript">
$(".panel-body-wrapper").css("background", "url(http://res.cloudinary.com/deadlypenguin/image/upload/v1460686084/BattleStationDraft_l9f82j.png) no-repeat center");
</script>

Hope that helps


 


UPDATE


 


This will set a background to all views on the form, I haven't found a way to set it one time only. 


Thank you.  I will give this a go.


Hi Mustafa,

 

If I want to use the image stored in the server, where will it be stored and what will be the value of the url on this code?

<script type="text/javascript">
$(".panel-body-wrapper").css("background", "url(http://res.cloudinary.com/deadlypenguin/image/upload/v1460686084/BattleStationDraft_l9f82j.png) no-repeat center");
</script>

Thank you in advanced. 


Reply