Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won

  1. Hi Aurora, thanks for your help! Each calculated field listed in the script below compares 2 or more calculated fields not listed and basically checks to make sure the user filled out the form correctly. What I want is that they do not allow the submit button if the the calculated fields do not read "OK" Based on what you provided I was able to put together the following, which worked on its own but not when deployed with other datapages on the same page: <SCRIPT LANGUAGE="JavaScript"> var stat='[@calcfield:2]'; var stat4='[@calcfield:4]'; var stat6='[@calcfield:6]'; var stat8='[@
  2. Hi all, I want to hide the submit button in a details page based on the value of five calculated fields. I saw this post from before: http://forums.caspio.com/index.php/topic/5131-hide-button-based-on-calculated-field/ Based on the advice there, I came up with the following: <script language="javascript"> var stat='[@calcfield:2]'; if (stat.length='Not Equal, please revise figures') { coauthor = stat; document.write(stat); document.getElementById("Mod0EditRecord").style.display = "none"; } </script> But I have been unable to get that script to work for me properly.
  3. Hello all, I have setup caspio's map mashup and now I would like to combine it with various layers using google maps api v3. I have the code setup so each one works on its own, however I am not sure how to integrate the code for the two so they work together. Below is the code I got from the caspio mashup wizard, and as is it works fine and shows the results page records on the map: <script type="text/javascript" src="//d23b32zmhbr2ct.cloudfront.net/mashup/script/caspio_mashups_v7.js"></script> <script type="text/javascript"> var mapSettings = { 'mapType': 'G',
  4. Hi Shannon, I think the issue is that you are using DMS (degrees, minutes, seconds) when you should be using decimal degrees (latitude and longitude). The Caspio Google Maps mashup uses Latitude and longitude: http://howto.caspio.com/extensions/map-mashup/map-mashup-guide/ You can play around with the following website to get an idea of this: http://www.gps-coordinates.net/ If you plug in 29.61 as Latitude and 95.02 as Longitude it will take you to china. If you plug the same numbers in as DMS, it will take you to Houston. If you only have a few locations you need to conv
  5. Hello, I have a system that runs in two languages and in some cases I have dropdown menus to select a city in Arabic. The same city is then automatically selected in English in an associated cascading dropdown. This english cascading dropdown is hidden in the form using html blocks as per: http://howto.caspio.com/tech-tips-and-articles/common-customizations/how-to-hide-fields-in-datapages/ This information is then displayed in a tabular report that can be inline edited. In this case, if a user changes the city in arabic, the change automatically occurs in english as well. The problem i
  • Create New...