I guess I'm looking for the best way to scrub strings users have entered into fields before they get saved to the database.
Best to do this with Custom Code > Javascript? With Custom Code > Before Save?
How would one go about doing this?
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Replace curly quotes and other problematic characters?
-
- Posts: 23
- Joined: Tue May 08, 2012 8:24 pm
Re: Replace curly quotes and other problematic characters?
mlgeek,
Object Event (Javascript onchange event)
eg.
http://stackoverflow.com/questions/3889 ... phanumeric
Steven
Object Event (Javascript onchange event)
eg.
http://stackoverflow.com/questions/3889 ... phanumeric
Steven
-
- Posts: 23
- Joined: Tue May 08, 2012 8:24 pm
Re: Replace curly quotes and other problematic characters?
Hi Steven-
Are we talking about entering the JavaScript into the "On Change" box for field I wish to scrub?

If so...do I just enter my JavaScript with regex here?
Are we talking about entering the JavaScript into the "On Change" box for field I wish to scrub?

If so...do I just enter my JavaScript with regex here?
Re: Replace curly quotes and other problematic characters?
Yes but this is a nuBuilder 2 question in the nuBuilderPro section.
Steven
Steven
-
- Posts: 23
- Joined: Tue May 08, 2012 8:24 pm