Skip to main content
Nintex Community Menu Bar
Solved

Is it possible to change the font size for the add row text

  • Dec 9, 2016 12:45 PM UTC
  • 4 replies
  • 61 views
  • Translate All

Forum|alt.badge.img+6

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.

Best answer by philipplucas

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

View original

4 replies

Forum|alt.badge.img+11
  • Nintex Partner
  • Answer
  • Dec 20, 2016 9:57 AM UTC

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

Translate

Forum|alt.badge.img+1
  • Rookie
  • Apr 25, 2018 5:37 AM UTC

Good morning,

thats the way to change the text itself, but how to change the font size?

Thanks 
Michael

Translate

Forum|alt.badge.img+11
  • Nintex Partner
  • Apr 25, 2018 3:12 PM UTC

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>");

Translate

Forum|alt.badge.img+1
  • Rookie
  • Apr 26, 2018 4:59 AM UTC

Thanks, works perfect!

Translate