Caspio Evangelist
  • Content count

  • Joined

  • Last visited

  • Days Won


MayMusic last won the day on January 14

MayMusic had the most liked content!


About MayMusic

  • Rank
    Advanced Member
  • Birthday May 19

Profile Information

  • Gender
  1. Download button is downloading whatever user retrieved on report page, there is no point to move it to search. If you have search and report on one page and you want to see download over on search page then "position:absolute" might help.
  2. You can fire the function on a different event like when the second value goalcount is entered and focus goes to another field <script> function onSubmitClick() { var box1 = document.getElementById('InsertRecordsubgoalcount'); var box2 = document.getElementById('InsertRecordgoalcount'); box2.value = box1.value; } document.getElementById('InsertRecordgoalcount').onblur = onSubmitClick; </script>
  3. For the many to many you have to break it down to two one to many relations so you need to have an extra submission page to add to this join table. As for the Grid, if possible give me the URL to take a look. Probably you need to check and see if you have a fixed width for some columns in your report
  4. How do you get these values to the table? what is the table design? Calculation needs to be performed at submission is that correct?
  5. can you bring an example of the table setting?
  6. Regarding your third question what is the relationship between company and employee table? which one of the following: 1 Employee ==> Many Company Many Employee ==> 1 Company Many Employee ==> Many Company
  7. 1) How Can I Change the Default "View Details" link to just "Details"? A: Edit the localization you are using for this page, under Results Pages >> Record Actions >> Element find view details and change the custom text 2) Grid Edit - How Can I Make the tables NOT shrink and get squishy when I Click "Grid Edit" : A: Add Header to "Configure Result Page Fields" screen and use the code below: <style> .cbGridCtnr, .BodyCtnr, .Table { width: 100% !important; } </style>
  8. This will change the whole cell background color <div id="visi[@field:ID]"></div> <script> var isi = document.getElementById("visi[@field:ID]"); if('[@field:Name]' == 'A'){ = '#b3e6b3'; }else if('[@field:Name]' == 'B'){ = 'red'; } else if('[@field:Name]' == 'D'){ = 'yellow'; } </script>
  9. Here is my sample page
  10. I have this code in HTML Block on my report page <div id="visi[@field:ID]"></div> <script> var isi = document.getElementById("visi[@field:ID]"); if('[@field:Name]' == 'A'){ = '#b3e6b3'; }else if('[@field:Name]' == 'B'){ = 'red'; } else if('[@field:Name]' == 'D'){ = 'yellow'; } </script> ID is the unique field in the report and Name is the field I want to check background for based on the value in it
  11. Oh you can add HTML Block right above or next to the field and then add div to it <div id='mymsg'></div> In the function where you conform the link add the following to the else statement: If not correct link: document.getElementById('mymsg').innserHTML = '<b>This link is not valid</b>';
  12. So if it is not validated you can add an alert in the function to show link is not valid like: alert('Enter a valid URL');
  13. I need the URL to take a look at the source code and see what is causing the space
  14. Questions must be field values in the table and then you need to select them in your submission page and select Radio button for answers and type in the options Table: Q1, Q2, Q3 ..., User_ID, Date_Submitted
  15. Try this in the footer of the submission page <script type="text/javascript"> /* "fieldName" is the variable name for the listbox type form element field. */ var fieldName = "InsertRecordFirst_Name"; var x=document.getElementsByName(fieldName); x[0].multiple=true; var el = document.getElementsByTagName('select')[0]; document.getElementById('Submit').onmouseover= function (){ var el = document.getElementsByTagName('select')[0]; getSelectValues(el); } function getSelectValues(select) { var result = []; var options = select && select.options; var opt; for (var i=0, iLen=options.length; i<iLen; i++) { opt = options[i]; if (opt.selected) { result.push(opt.value || opt.text); } } if (result.length>10){ alert('Select max 10 options for First Name'); return false; } } </SCRIPT> Replace InsertRecordFirst_Name with the actual listbox ID value