Sure James - The password page doesn't have a specific view ID so we need to use the '.any' event. We also want to target the #knack-reset-pass form instead:
$(document).on('knack-view-render.any', function (event, view, data) {
$('div#knack-reset-pass .view-header h2').text('Set your own Password Here');
Hello, I’ve tried this on my app however it’s not working. Further can I confirm if it needs to be added to the Custom CSS or Javacript area it needs to be added to?
To change the Sign Up button text on all Login Pages, you can add this to your JS:
// Changes the Sign Up button text on all Login forms
$(document).on('knack-view-render.any', function(event, view, data) {
const signUpButton = $('a.register')
const hasSignUpButton = $('a.register').length
if (hasSignUpButton) {
signUpButton.text('Register') // 'Register' or 'Create Account' etc.
}
})
To change it on a specific form, you can replace “any” with the specific view e.g. view-123
To change the text on a Registration Form, this can be done directly in the Builder.