Jump to content

Search the Community

Showing results for tags 'search criteria'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Caspio Bridge
    • Caspio Apps for Ukraine
    • General Questions
    • Caspio JavaScript Solutions
    • Tables, Views and Relationships
    • Import/Export and DataHub
    • DataPages
    • Deployment
    • Security, Authentications, Roles, SAML
    • Styles and Localizations
    • Parameters
    • API and Integration
    • Calculations and aggregations
    • User JavaScript and CSS Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Skype


Location


Interests

Found 1 result

  1. Is it possible to use virtual fields as search criteria? I have a report datapage with an actual search field named "Client_ID". That field is "Hidden". I also have two virtual fields, each with a different multi-select listbox. The virtual fields are both labeled "Client ID" and the one that gets displayed for the user to select from depends on the contents of an auth field (using a rule). I want the selections from the virtual field that is displayed to be used as the actual "Client_ID" selections in the search. The code I currently have in the footer (that doesn't work) is: <script> function setSearch(){ if("[@authfield:Level#]" == 3){ document.getElementById("@field:Client_ID").value=document.getElementById("cbParamVirtual1").value; } else { document.getElementById("@field:Client_ID").value=document.getElementById("cbParamVirtual2").value; } } document.getElementById("caspioform").onsubmit = setSearch; </script> Is what I'm looking to do even possible? I know I can have a separate search form and report datapage but I would prefer not to do that if possible.
×
×
  • Create New...