Add New Options

Hi everyone, how can I change the wording of this “add new option” when creating a new record? Thanks in advance :slight_smile:

image
image

Answered by Chris…

Add to your Javascript and inspect your form to find the correct view. I’m still at a loss to change just one instance. This will change them all on your page if you have more than one.

Best Kevin

ChrisGoode18309

Jul '19

Cara,

I was able to change the text for all options in the view to the same thing using the following:

//Change link text “add a new option”
$(document).on(‘knack-view-render.view_322’, function(event, view, data) {
$(’.kn-add-option’).text(‘Add an unlisted option’);
});

I couldn’t figure out how to do individual changes for more than one “Add a new option” but this works for me, it changes all of them to the same thing. Hope this helps.

Chris.

1 Like