Jump to content

braxwell

Members
  • Content Count

    21
  • Joined

  • Last visited

  1. Hello all, Im using the following code to combine the values of several fields to create a parent value for a cascading element. My problem is the cascading elect won't update unless I actually type in the parent field - how can I force the cascade to update? <script> document.getElementsByName("InsertRecordFrame_Desc")[0].onchange = function () {{ var box80 = document.getElementsByName("InsertRecordFrame_Collection")[0]; var box81 = document.getElementsByName("InsertRecordLens_Package")[0]; var box82 = document.getElementsByName("InsertRecordInsuranceLevel")[0];
  2. Thanks - I was able yo get it to work with this: <style> input[id^="Mod0EditRecord"]{ display: none !important; } </style>
  3. Hello I need to have a details page on and update form that has no action buttons at the bottom. I was able to hide the BACK button with the following code: <style> input[id^="Mod0CancelRecord"]{ display: none !important; } </style> I also need to hide the UPDATE button as well - I have not be successful modifying the above code to accomplish this. Can anyone help? Thanks!!!
  4. Hello Caspio Friends, Im wondering if this is possible. I have a submission page that uses a dropdown. The dropdown is set to have a value for Display, and and Actual Value. I now would like on a reports page to place code inside an html block to display the value in that field. The rub is I want to to show the Display Value, not the Actual Value. Is there a way I can do this? Thanks in advance.
  5. Its a reports page - I tried the code you referenced above but it doesn't seem to work. What adjustments are needed for a update/reports page?
  6. Hi - I have a reports page that I need to add a simple script to that will look at the values of two fields - and if those values are equal - will display a message and prevent submission. I think and If then statement would work but i'm not able to write it myself. Can anyone help with that script? Thanks!
  7. did you ever figure this one out - I am having the same issue?
  8. I have an update form that calculates some vales based upon user selections. I use html to do the calculations - but I need to make some of the filed non-editable after the calculations are make. - I have tried using the document.getElementById('EditRecordField_Name').disabled= true; tag - which works to disable the field, however upon updating the record - the values do not save. Is there a way to allow the value to be populated by the code, but not allow a user to edit the field?
  9. Ok - I understand - Ill give this a try - Thank You~!
  10. Hello Im using the following code: <script> document.getElementById('InsertRecordVisit_Type').onchange = function () {{ var currentdate = new Date(); var datetime = (currentdate.getMonth()+1) + "/" + currentdate.getDate() + "/" + currentdate.getFullYear() + " " ; document.getElementById('InsertRecordDate').value = datetime; document.getElementById('InsertRecordAccessory_1').value = "Cord"; }} </script> All is working fine except I cannot get the Accessory_1 value to change - this is a dropdown field t
  11. Hello, Here is the situation, I need to be able to use html to create a button on a form that will direct the system to generate an email, - that part I have figured out - the hard part is that I need to be able to take data from the Caspio form - and using that data generate a text file that is attached to the email being sent. The content of the text file will be simple instructions populated by the data retrieved in the lookup form. Ive not had much luck finding anything on how to do this - can anyone help?
  12. This is the code i have in place - it works great as long as the input fields are text fields - when they become cascading dropdowns it no longer works. Please help!!! <SCRIPT LANGUAGE="JavaScript"> function calculate() { var v_field1 = parseFloat(document.getElementById("InsertRecordOD_PD").value); if (isNaN(v_field1)) v_field1 = 0; var v_field2 = parseFloat(document.getElementById("InsertRecordOS_PD").value); if (isNaN(v_field2)) v_field2 = 0; var v_field3 = parseFloat(document.getElementById("InsertRecordOD_SEG").value); if (isNaN(v_field3)
  13. Hello Caspio Nation, I have a submission form - the form has 2 fields that are populated by a cascading dropdown and contain a price. Id like to put a total field on the submission form so i need a simplethe html code to add these two fields together. The cascading dropdown seems to be the issue - can anyone please help?
  14. Id like a html code that will subtract the values of two fields in an update data page. I need the calculation to happen instantly so calculated fields don't work. Thanks!!!
  15. Thanks - I had looked this post previously - its where i got the code for the print button - this isn't quite what I'm looking for. Is there a way to have the print area of the document not include the header/footer - i.e. the web address , nav buttons, ect - I just want to print out the main body of the document. Thanks!
×
×
  • Create New...