Hello,
How can I change Forms upload file field's legend 'Or drag files here' (French interfare requirement)?
Thanks in advance
Hello,
How can I change Forms upload file field's legend 'Or drag files here' (French interfare requirement)?
Thanks in advance
Hello Sheila,
I have placed the code in the JavaScript (rather than CSS) tab and everything works fine.
Many thanks !
Try this:
$('span.drag-file-notice').replaceWith('<span class="drag-file-notice hidden-xs ">your text here</span>');
Hi Sheila,
How to I bind this CSS code within the Forms field definition?
Open the CSS tab on the form and paste it into your CSS script. Something like this...
$(document).ready( function() {
$('span.drag-file-notice').replaceWith('<span class="drag-file-notice hidden-xs ">your text here</span>');
});
Then when your form loads and is in the ready state, all attachment fields will show the text you entered above instead of the original text. The ".drag-file-notice" class is an attribute on all attachment fields, and the statement in your script (above) will tell Forms to change the text to whatever you entered in that statement.