Jump to content

Search the Community

Showing results for tags 'passing parameters'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Caspio Bridge
    • 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 6 results

  1. I am having trouble passing parameters with an apostrophe or '&' sign. Any suggestions on a work around for this.
  2. Hi there, I have 2 tables that I'm passing parameters between using a redirect and auto-submit. In the datapage, the user can assign a star rating which is updated in the main table. I wish to pass that parameter to my second table (via the redirect / auto-submit) ONLY if it has changed ... At the moment, the field is called "QA_Tester_Rating" in both tables and it is passing fine from the redirect etc to the 2nd table. Do I want to set up a script in my first datapage or second, to look for changes in the field and only pass the figure if it has changed? I want the field to be blank in my table if there are no changes. Any help much appreciated! Nikki
  3. I have an problem that I cannot figure out how to solve. It's a bit complicated, but I think it may be unsolvable within Caspio. Anyone who can solve this gets a gold star because I have tried everything. I have a table of customers example (C1, C2, C3, ... Cn ) and a table of vendors (V1, V2, V3... Vn). Every customer can have deals from multiple vendors e.g.( Customer C1 can have deals from vendors V1, V3, V4, C2 can have deals with V2, V4, V5) etc. Vendors can have different deals with one or more customers, but only a single deal with a given customer. This yields a "deal table" view consisting of combos of vendors and customers IDs forming records that have all the instances of vendors for each customer e.g. (V1/C2, V1/C3, V2/C2) OK- Here's the problem. I want to create a table that shows "All customers I don't have a deal with" from the perspective of a vendor. I do a login which passes vendor ID, and I can only view records that are not equal to that vendor ID, but that will still show all other vendors that have deals with that customer. I want to basically eliminate a customer entirely from the view if that customer ID shows up in the vendor's deal table. I need to pass all the customer IDs in the vendor deal table somehow into the combined view table and do a big "not equal" to any of those customer IDs. This doesn't seem to be possible, or maybe requires javascript. The rules don't allow you to eliminate individual records based on the content of another table. Thanks in advance. Like I said, gold star if you figure this out.
  4. Hi All… Joined today and my first question to the Forum (I'm a novice so please forgive me if I ask dumb things about coding)! My web form contains some search fields and a pivot table, all on one page. For searching I use a submission form with virtual fields to pass parameters to the Pivot table report. Two of my virtual search fields are “Region†(listbox), and “Country†(cascading listbox with “Region†as the Parent), but I need to have ‘multi-select’ for BOTH listboxes. Thanks to this Forum I’ve managed to get multi-select ‘sort of’ working, using JavaScript in the footer: <SCRIPT LANGUAGE="JavaScript"> /* "Note that ‘cbParamVirtual1’ = the ‘Region’ listbox (ie Parent) */ /* " ‘cbParamVirtual2 = the ‘Country’ cascading listbox. */ var fieldName1 = "cbParamVirtual1"; var fieldName2 = "cbParamVirtual2"; var x1=document.getElementsByName(fieldName1); var x2=document.getElementsByName(fieldName2); x1[0].multiple=true; x2[0].multiple=true; </script> The problem: If I select just one region in Parent listbox, I happily get all the countries associated with that region in the cascading listbox. And I can go on to multi-select those countries. Perfect! BUT, if I multi-select, say “N.America†AND “Europeâ€, then my ‘Country’ cascading listbox just states “No options availableâ€. What I want is for it to list all the countries in both , “N.America†+ “Europeâ€. Somehow my multi-selections from the Parent just aren't being recognised. (Needless to say, this all works seamlessly in a tabular report format). I’d very much appreciate any help.
  5. Hi I have filtered multiple parameters using a virtual filed and a cascading listbox. Now I would like to pass all the values /parameters ( anywhere between 1 to 30) using an auto-submit script. I wonder how easy this is to achieve? Will appreciate any heads up! Thanks in advance.
  6. Need help in disabling the Enter Key from a text area in a Submission Form and an Update Form. Since I later on use that parameter to pass it on to another form and if the user used the Enter key, this passing of parameters results in an error. This is what I have on the header of the submission form but still is not working: <script language="javascript" type="text/javascript"> function stopRKey(evt) { var evt = (evt) ? evt : ((event) ? event : null); var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null); if ((evt.keyCode == 13) && (node.type=="text")) { return false; } } document.onkeypress = stopRKey; </script> The field I want to prevent is named as: "[@Status_trial]" I will greatly appreciate the Help!
×
×
  • Create New...