casGary
Caspio Ninja-
Posts
33 -
Joined
-
Last visited
-
Days Won
2
Everything posted by casGary
-
Hello EIQ, This function is supported only by the following versions of browsers: Internet Explorer 9.0+,Chrome 17.0+, Opera 9.6+, Safari 5.2+, Firefox 4.0+, Android 2.3+, iOS 3.0+ Maybe you are using the earlier version of chrome.
- 11 replies
-
- javascript
- autocomplete
-
(and 1 more)
Tagged with:
-
Dynamically Summing Fields In A Submission Form
casGary replied to sjmcarter's topic in User JavaScript and CSS Discussions
Hello cgonzalezalcala, You just need to reference your caspio fields correctly. The script seem to be working fine. Here you will find the full information on how to refence your fields. best regards. -
Dynamically Summing Fields In A Submission Form
casGary replied to sjmcarter's topic in User JavaScript and CSS Discussions
Hi again, Do you want to place the sum of your four fields to the fifth one? Could you specify what exactly you wish to implement? Regards -
Dynamically Summing Fields In A Submission Form
casGary replied to sjmcarter's topic in User JavaScript and CSS Discussions
Hi cgonzalezalcala, Here is a suggestion <script type="text/javaScript"> function mySum(){ var one = parseInt(document.getElementById("ID_OF_THE_FIRST_FIELD").value); var two = parseInt(document.getElementById("ID_OF_THE_SECOND_FIELD").value); var three = parseInt(document.getElementById("ID_OF_THE_THIRD_FIELD").value); if(!one) { one=0; } if(!two) { two=0; } if(!three) { three=0; } document.getElementById("four").value = one + two + three; } document.getElementById("ID_OF_THE_FIRST_FIELD").onchange = mySum; document.getElementById("ID_OF_THE_SECOND_FIELD").onchange = mySum; document.getElementById("ID_OF_THE_THIRD_FIELD").onchange = mySum; </script> Place that to the footer of your DataPage. Here is the instruction on how to add header and footer. Let me know if it helps. -
How To Restrict Search Results Based On Yes/no Value In Table
casGary replied to JaredEilering's question in Tables, Views and Relationships
Hello Jarede, I would suggest you to create a view to filter data in your table, based on the value of your yes/no field. Here is the instruction on how to set up this filter. Let me know if it helps. -
How Can I Format A Text Field As A Dollar?
casGary replied to Bangalore's topic in User JavaScript and CSS Discussions
Hi Bangalore, Can you describe it in more details. What kind of DataPage do you use, which field is that, what would you like it to look like? -
Conditional Background Color Change
casGary replied to senicholas's topic in User JavaScript and CSS Discussions
Hello Senicholas, Try to implement it this way: <script> function f_color(){ var myVal = parseInt(document.getElementById('ID').value); if (myVal > 7) { document.getElementById('ID').style.color = "red"; } } document.getElementById('ID').onchange= f_color; </script> -
Using X,y Coordinates In Map Mashup
casGary replied to CASPIOHELEEN's question in API and Integration
Hello Caspioheleen, I think you may find this video helpful. http://howto.caspio.com/getting-started/how-to-embed-a-google-map-in-your-website/ Regards. -
HEllo again, I suppose that will not be possible to implement.A good option would be to create several DataPAges with predefined criterias and render them to your page with the help of JavaScript. Regards
-
HI theconav, Could you describe your question in more details? What exactly are you trying to implement?
-
How To Assign Parameter Values In Page Html (Not Url String)?
casGary replied to kparisella's question in Parameters
Hello kparisella, COuld you specify, where do you expect that snippet of code to get the required values to pass. -
Hi SCUSBYouth, Can you describe it in more details. On which DataPage, in which conditions it is happening?
-
Hello sawa0018, Can you specify, do you want your details page to be an iframe or you want to render some extra web page to your details page?
-
Concatenate In The Calculated Field
casGary replied to Elena's question in Calculations and aggregations
Calculated field is ment to do some math calculations, if you need to concatenate strings, virtual fields should work better. -
Concatenate In The Calculated Field
casGary replied to Elena's question in Calculations and aggregations
Hi Elena, In JavaScript it is the concat() method, but not concatenate(). have a look http://www.w3schools.com/jsref/jsref_concat_string.asp Hope it helps. -
Timestamp on a change event in a Dropdown menu
casGary replied to perland's topic in User JavaScript and CSS Discussions
<script> function getT() { document.getElementById("EditRecordpatient_status_change_timestamp").value = '[@cbTimestamp]' } document.getElementById('EditRecordpatient_status').setAttribute("onChange", "getT();"); </script> It should be visible now -
Use Cascading Dropdown Value In Onchange Event
casGary replied to ab2013's topic in User JavaScript and CSS Discussions
Hi ab2013, There are two things I think you may try. First is to use the setInterval() method of javaScript. In this way you may set up the re-calculation of your total to every certain interval of time. http://www.w3schools.com/jsref/met_win_setinterval.asp Another way is to use the calculated fields of Caspio Bridge. More information about it in this article. http://howto.caspio.com/datapages/reports/advanced-reporting/calculations-in-forms-and-reports/ Hope it helps. Regards. -
Hi there, Plenty of information about files DataType in this article http://howto.caspio.com/files-and-images/ Good luck.
-
Hi SCUSDYouth, There is a way of putting a direct link to any website on the home screen of your IOS device. To implement that go to Safari, then follow to the website you wish to make a shortcut from. Once you are on the correct screen click the send button on the bottom and then select the home screen from the options provided. That's it, a shortcut pointing to your website will appear on the screen. On Android you first need to create a bookmark of that page in your browser, then go to the widgets menu and add that bookmark to your home screen. Hope that helps.
-
Hi GirlFriday, Can you specify the way you are deploying them. What do you mean they are going back to Caspio? Could you explain that in a little bit more details?
-
Hello edencitadel, Take a look at this article, I hope it helps. http://howto.caspio.com/deployment/deploying-into-wordpress/
-
Submit One Form To 2 Different Tables?
casGary replied to chriswoods's topic in User JavaScript and CSS Discussions
If you do need to do this, you may try to pass parameter as a query string. It is very well described in this article http://howto.caspio.com/parameters/parameters-as-query-string-values/ -
Submit One Form To 2 Different Tables?
casGary replied to chriswoods's topic in User JavaScript and CSS Discussions
Hi Ccarls3, Are you sure that you actually need to pass it? If you always submit those two forms at the same time why don't you just make another autonumber field in the second table. -
Hi Mark, as an option I would recommend to review a couple of articles on http://howto.caspio.com/ Here http://howto.caspio.com/tables-and-views/importing-data/ you might be able to find something helpfull regarding excel capabilities. http://howto.caspio.com/tables-and-views/ In these articles modifications and implementations of your tables are covered very well.
-
Hi Gregory, when setting up a Comperison type as "Begins with", you are still able to define the Range start and the Range end. So this might be just a temporary issue with the name of this option in comparison type. See the screenshot. http://screencast.com/t/mppex3aFD