Jump to content

cflapt

Caspio Ninja
  • Content Count

    34
  • Joined

  • Last visited

  1. I have a submission page with an iframe in it. Within the iframe is a report. I have js within the iframe that copies field values from the iframe report into the submission page fields. One of the fields (rx_2 below) in the iframe report is a number value. When copying this rx_2 field to the submission page (field labeled rx_2 as well) I'd like to copy the number value and add 1. For example if the iframe rx_2 field value is "3" I would like 4 to appear in the submission page after the copy. Here is the code: <script> window.onload = function(){ // this runs when the iframe has bee
  2. I have a details page with text fields that allows the user to submit data. After submission the destination is the same datapage so the user can keep editing the details page if they wish. After they click submit I'd like a progress bar/status bar that takes over the screen and says something like "Saving...." or "Processing......" Just like this js example does: http://forums.caspio.com/index.php/topic/4314-js-auto-submit-a-datapage/ Also, if a user makes changes to the details page and tries to close the window before submitting, I 'd like a message to save "You have made chan
  3. I'd like to create a patient appointment/scheduling calendar for a doctor's office. The calendar datapage is not suited for this type of application. The time slots need to be fixed on the side like Google Calendar or Outlook's calendar. Does Caspio have an instant app for this? Have any Caspio user developed such an app they would be willing to share? Is there an opensource option I could integrate with Caspio? If I have a 3rd party develop it, how will it integrate with my Caspio database? via web services? Thanks.
  4. Okay, and then the parameters to be received in the floatbar would be received from a query string in the webpage URL?
  5. Hi, I currently deploy my datapage directly from caspio. I use the following code for a floatbar that holds information at the top of the page (when user scrolls info and buttons stay at the top of the page like a toolbar). <span class="cbFloatBarText"><div id="float_bar">Patient:[@field:Patient_Registration_First_Name] [@field:Patient_Registration_Last_Name]</div></span> I am starting to migrate from deploying directly from caspio to deploying via embedding the datapage in my website. However, when I embed, the floatbar doesn't work. The floatbar contents simpl
  6. Unfortunately I can't get this to work. I tried both scripts (one at a time) by inserting them into an HTML block. here is what i inserted for the first script <script> function f_color(){ if (document.getElementById('EditRecordnote').value = '10') { document.getElementById('EditRecordnote').style.color = "red"; } } document.getElementById('EditRecordnote').onchange= f_color; </script> Here is the input code: <input type="text" class="cbFormTextField" size="2" maxlength="255" name="EditRecordnote" id="EditRecordnote" value="10">
  7. I have a text field with id=TextField. When the user types 10 into this field I would like the font color of 10 to change immediately to red (and if possible change the background color of the text field). It seems the best way to do this is change the CSS style of TextField when 10 is entered into this field. I searched online but couldn't get any of the available code to work. Thanks.
  8. I got it to work. For some reason I only get the problem if I test the code through Chrome html editor. When I actually deploy the datapage it works. Thanks for the help. One more question, I have datapage#1 with an iframe that contains datapage#2. I would like a button on datapage#1 that copies a field from datapage#2 and pastes the data within a field on datapage#1, ie., the exact same thing as the above code only across the iframe barrier. Do you know how to tweak the above code to accomplish such a function? Thanks again, I appreciate your help!
  9. Okay, thanks I will. I had the virtual field as display only.
  10. In a detail page I have a field that is a check box, I also have a virtual field that displays text. When the checkbox is NOT checked I want the virtual field hidden. For some reason the rules do not allow me to "hide" any virtual fields. Any suggestions why?
  11. I can't believe there is not a way to view PDFs within Caspio without downloading. If the PDF contains private information then if a user is on their home computer and they view the PDF the PDF will be download to their home computer.
  12. Hi, I am trying to implement the following function into a details datapage: Text Box 1 - user types in data Text Box 2 - user clicks button and Text Box 1 data is copied into Text Box 2 I have found javascript that makes this work with a checkbox, but I would like a button. I found javascript for a button but it doesn't seem to work within the datapage for some reason. Here is the button javascript I found. One problem is that the button html below trys to submit the page. <script> function onSubmitClick() { var box1 = document.getElementById('box1'); var box2 = document
  13. Thanks, but the PDFs contain customer specific information, i.e. I need to store them by customers. Storing them on an external server does not seem feasible.
  14. My users upload PDF files. When needed, they would like to view these files later as embeded documents within a datapage. The following shows how to embed pdfs, but only pdf NOT stored on the caspio database? http://howto.caspio.com/tech-tips/tech-tip-embed-documents-in-datapages.html Thanks for the help.
  15. This code doesn't work on my datapage. I have a datapage (http://b6.caspio.com/embedded form...) embedded on my site (www.site.com) within a table. I then have another datapage (search and report, list results only; http://b6.caspio/iframe form...) within in iframe on the details page of the embedded form, ie. <iframe>src=http://b6.caspio/iframe form...</iframe>. The iframe is within a table, the code of which is in a HTML block of http://b6.caspio.com/embedded form... Here is the code within the html block of http://b6.caspio.com/embedded form... <table width="200" bor
×
×
  • Create New...