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!
Please register and login to view forums and other content only available to registered users.
Please register and login to view forums and other content only available to registered users.
Replace curly quotes and other problematic characters?
-
- Posts: 23
- Joined: Tue May 08, 2012 8:24 pm
-
- Site Admin
- Posts: 2781
- Joined: Mon Jun 15, 2009 2:23 am
- nuBuilder Version: 4.5
- Been thanked: 1 time
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?
-
- Site Admin
- Posts: 2781
- Joined: Mon Jun 15, 2009 2:23 am
- nuBuilder Version: 4.5
- Been thanked: 1 time
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