Changes

Jump to: navigation, search

Pandora Filter Examples

208 bytes added, 22:04, 29 January 2011
no edit summary
 
==Escaping Apostrophes==
When searching a text field that may contain an apostrophe (') you need to add a backslash in front of the apostrophe so it is not interpreted as closing the text string:
var filter = " name='"+frm.cname.value.replace(/'/g,"\\'")+"'";
* This filter will look for Level 3s attached to the current level 2 with a value from the variable "exType" in the custom field 1301787:
var filter="objectid='@objectid@' and tbl_1301787.valuestr="+exType;
[[Category:Pandora]]
0
edits

Navigation menu