I've been asked to increase the font size of the text that is placed under the repeating section but I cannot work out how this can be done.
Any advice is welcome.
I've been asked to increase the font size of the text that is placed under the repeating section but I cannot work out how this can be done.
Any advice is welcome.
Hi Paul,
you can achieve this by using JavaScript/Jquery. First you navigate to your form settings and open up the advanced section. In the "Custom JavaScript Includes" you add your JQuery library (for example you can simply add this URL: https://code.jquery.com/jquery-2.2.4.js). Afterward you open the "Custom JavaScript" section of your form settings and enter the following script:
NWF$(document).ready(function(){
$("a.nf-repeater-addrow-link").html("Hello World!");
});
This will change the text off the link to add a new row to a repeating section.
You may want to change the text as "Hello World!" may not what your users are supposed to see there
Cheers
Philipp
Good morning,
thats the way to change the text itself, but how to change the font size?
Thanks
Michael
Since we are manipulating the "html" we are able to provide a whole html tag. That means we can do something like this:
NWF$("a.nf-repeater-addrow-link").html("<span style='font-size: 15px !important;'>Hello World!</span>");
Thanks, works perfect!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.