Jump to content


Caspio Ninja
  • Posts

  • Joined

  • Last visited

Posts posted by Watusi

  1.  I got this dialog box in one of my Report DataPage.  


    I have a dropdown in my search where I used a lookup table as a source. Right now, I just close this dialog box as I am not sure if I should confirm. Also, cannot remember when the pre-existing got generated.

    I cannot find any documentation about this in Caspio's online help center. Anyone who encountered this also?

  2. Thank you, AtayBalunbalunan. This solution works. :)

    18 minutes ago, AtayBalunbalunan said:

    Hi Watusi, if you have just one DataPage deployed in your website page, you can add this script in your DataPage's Footer:

    <script type="text/javascript">
    	function submitCBForm() {



    Then, add onclick="submitCBForm()" in your new Submit button to execute the script for submitting the form.

    Your new button's code can look like this: 

    <input type="submit" name="Submit" value="Submit" class="newSBstyle" onclick="submitCBForm()"> 


  3. I would like to hide the Submit button on my Submission Form and create a new submit button in my website where the DataPage is deployed. I was able to hide the Submit button on my Submission Form by adding an HTML block and using this code:

       display: none !important;


    Meanwhile, on my website, I used the following code for the new Submit button:

    <input type="submit" name="Submit" value="Submit" class="newSBstyle">


    Unfortunately, this new Submit button doesn't work. I'm thinking that I'm missing some JavaScript code for my Submission Form to be submitted upon clicking my new Submit button.

    Does anyone know how to do this?

  4. Thank you, AtayBalunbalunan. This works!

    22 minutes ago, AtayBalunbalunan said:

    Hi Watusi, can you try this instead:

    <script type="text/javascript">
    var dropdown = "Value1_1";
    var checkbox = document.getElementsByName("Value2_1")[0]; 
    var drp = document.getElementsByName(dropdown); 
    function checkdropdown()
        var drpselected = drp[0].options[drp[0].selectedIndex].text;
        if (drpselected == "Math")
          checkbox.checked = true;
          checkbox.checked = false;


    Let me know if this works.

  5. I would like to ask for help in my JS code. I'm trying to change the value of a checkbox in a search form when a specific option in a dropdown is selected.
    I want the checkbox to be set to true if "Math" is selected in the dropdown.

    Below is my code that's not currently working:

    function checkdropdown(){
      var drpselected = document.getElementsByName("Value1_1").value;
      if (drpselected == "Math") {
        document.getElementsByName("Value2_1").checked = true;
      else {
        document.getElementsByName("Value2_1").checked = false;
    document.getElementsByName("Value1_1").onchange = function() {checkdropdown()};


    Also, here is a screenshot in the "Configure Search Fields" step of the DataPage:



    I'm hoping someone can help me with this. Thank you.

  • Create New...