lonyango Posted April 7, 2015 Report Share Posted April 7, 2015 I have multiple fields that I am trying to put a conditional rule, if met will trigger the opening of a Datapage as an action within the rules of Caspio. The fields have numeric values, if a certain value is selected from any of the fields dropdown list, for example 1, then the action should be an automatic popup of a submit or update Datapage for the user to complete. I am looking for a script that would accomplish this task. Thanks Lucas nickword 1 Quote Link to comment Share on other sites More sharing options...
Aurora Posted August 19, 2015 Report Share Posted August 19, 2015 Hello Lucas! I hope your question is still actual. Here is a script which might help you to accomplish this task : <SCRIPT LANGUAGE="JavaScript"> function myFunction() { var dropdown = document.getElementById("InsertRecordYour_Dropdown").value; if (dropdown =="1") { newwindow=window.open("http://Your_Submission_Form.html","mywindow", "menubar=1,resizable=1,width=500,height=500"); } } document.getElementById("InsertRecordYour_Dropdown").onchange = myFunction; </SCRIPT> Have a good day Aurora nickword 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.