Jump to content

Search the Community

Showing results for tags 'data validation'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start




Website URL






Found 3 results

  1. I have been pounding my head against a wall on this one. I need to do data validation for two fields in a tabular report data page in two different scenarios. I have been successfully using the following code to validate one field: <script> var nameOfField = "InlineAddWhole_Value_Perc_Split_to_Agent"; document.addEventListener('DOMSubtreeModified', function(){ if(document.getElementsByName(nameOfField)[0]) { document.getElementsByName(nameOfField)[0].addEventListener('change', function(){ var cash= document.getElementsByName(nameOfField)[
  2. Hello - I need help in improving the JS code below. I would like to add data validation upon updating a record via In line Edit in a Tabular form. Any feedback is much appreciated. <script> document.getElementById("Mod0InlineEdit").onclick = function() { window.alert("check"); if(document.getElementsByName("Mod0InlineEdit")[0].value > 100 { window.alert("save!"); } else if (document.getElementsByName("Mod0InlineEdit")[0].value > 1000 { window.alert("do not save!"); return false; } else { window.
  3. I hope I'm not asking a really foolish question but I have search around without much success. How do check that data entered in a form is in a specific range. Lets say we have a currency field "Rent". How do we check in a form that the amount entered is greater than 0 and less then 10,000 say? Thanks
  • Create New...