This one is tricky, some field in nm_proc_int_search() are different depending of the configuration, check the value with inspect
//onApplicationInit
[RefinedSearchFirstPass] = true;
//onRecord
if ([RefinedSearchFirstPass] == true) {
?>
<script>
$(document).ready(function() {
nm_proc_int_search('link','tx','Title','YourField','BDValue##@@ScreenText', 'YourField', '');
});
</script>
<?php
[RefinedSearchFirstPass] = false;
}
Field of nm_proc_int_search
1 - Always âlinkâ
2 - âtxâ for text, ânmâ for number (value of field in the database)
3 - Field title
4 - Your field name in lower case and replace . by _ if present. ex. u.Active put u_active
5 - Concanate the BD value with ##@@ and the text on screen. ex. Y##@@Yes
will default to Yes if itâs value in the database is âYâ
6 - Repeat field 4
7 - Leave empty
So in this example it will be nm_proc_int_search('link','tx','Active','u_active','Y##@@Yes', 'u_active', '');