- Print
- DarkLight
- PDF
Can the City field for new recommendations from DonorCentral be set up to exclude specific characters?
Article summary
Did you find this summary helpful?
Thank you for your feedback
When donors enter a recommendation and choose to suggest a new charity, if they enter a comma at the end of the City field, this will be retained when creating a profile from the recommendation.
Answer:
To resolve:
1. Go to Control Panel -> Recommendation Form > Charity tab
2. Scroll to the City field
3. Click the gear button to Edit
1. Go to Control Panel -> Recommendation Form > Charity tab
2. Scroll to the City field
3. Click the gear button to Edit
4. Go to the Validation tab > Regular Expression Pattern field
5. Add the following regular expression for preventing comma or space at the end: .*[^,|\s]$. Click save.
- You can also add a custom message that users will receive if they put in an invalid character, for example:
6. When this window closes after clicking save scroll down to the bottom of the form and Click Save Form
Was this article helpful?