In This Article:

    Change the field labels on a Salsa page

    In This Article:

      Background

      Labels are the fields that tell a supporter/donor what to put into a field.;  In this screenshot, the labels are "First Name", "Last Name" and "Organization":

      2015-05-22_1215.png

      How would you like to change the label for a field?  Maybe change "Organization" to "Business or Organization Name"?

      2015-05-22_1228.png

      Want that?  Read on!

      Solution

      The solution is to add a script to your template that changes a field name. The solution needs to be installed in the templates assigned to the pages where you'd like the label change to appear.  Please note that this solution does not work for targeted actions.  Contact support@salsalabs.com if that's what you need.

        Here are some steps that you can use:

      1. Edit a template.  Click here if you need help getting started.
      2. Use the browser's search tool to locate the </head> tag.
      3. Insert a blank line just before the </head> tag.
      4. Click here to see the page where the script lives.
      5. Locate and click the "Raw" button.  A new window will appear that contains just the solution.
      6. Copy the contents of the window and close it.
      7. Return to the template editor.
      8. Paste the text into the newly inserted line in the template.
      9. Change the values of the currentFieldLabel and newFieldLabel variables as shown in the pasted text.
      10. Save the template.
      11. Test!

      Questions?

      If you would like to change more than one field name, then please send a message to support@salsalabs.com and we'll be glad to cook up a solution.

      If you have any other questions, please collection this information:

      • Your organization_KEY
      • Your chapter_KEY if you are in a chapter
      • The template_KEY of the modified template
      • The URL of page that uses the template. You can find the URL in the browser's address bar when you are viewing the page.
      • A screenshot of the page, if possible.

      Send this information to support@salsalabs.com, and we'll be glad to help.

      Was this article helpful?
      1 out of 1 found this helpful
      Have more questions? Submit a request

      Comments

      0 comments

      Please sign in to leave a comment.