Jump to content

rickin21

Members
  • Posts

    6
  • Joined

  • Last visited

rickin21's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Okay so I have tried this and it does not work: <style> #target table:nth-of-type(2) td:nth-of-type(3) {display: none;} #target table:nth-of-type(2) th:nth-of-type(3) {display: none;} #target table:nth-of-type(2) th:nth-of-type(3) {display: none;} </style> <div id="target"> My table has a sticky header as well so I added another line
  2. Hi Mathilda, Sure that could work, however my datapage is grouping each person's record, I would need the calculated field to show up in this grouped column and not in each individual records. How would I do this?
  3. Hi, I am not sure if this is possible or not, but I have a tabular report set up where all the records are grouped under each Full Name (Field name for this table). The table can be collapsed/expanded, but the grouped field will show a total count of each record. I am trying to create a button or something that will create a new record, based on the total count shown. I thought of using triggers for this; however, this seems to only work per record and not when they are grouped. Any suggestions or advise on this would be grateful. I am new to Javascript and CSS so my knowledge is limited on this
  4. Hi guys, Thank you for your help! This still does not seem to do anything but I appreciate the effort!
  5. Hi, I am trying to perform a calculation on one of the field "Amount" - the calculation is pretty much (regular hours x regular rate) + (overtime hours * overtime rate). I have the following javascript below but it does not seem to work. Please help me resolve this issue! Fields: Amount, Regular_Hours, OT_Hours, Rates and Rate_OT <SCRIPT LANGUAGE="JavaScript"> function calculate() { var v_hours = parseFloat(document.getElementById("InsertRecordRegular_Hours").value); var v_hoursot = parseFloat(document.getElementById("InsertRecordOT_Hours").value); var v_rates = parseFloat(document.getElementById("InsertRecordRates").value); var v_ratesot = parseFloat(document.getElementById("InsertRecordRate_OT").value); var v_amount = ((v_hours * v_rates)+(v_hoursot * v_ratesot)); document.getElementById("InsertRecordAmount").value = v_amount; } /* On submitting the webform, the function calculate is executed */ document.getElementById("Regular_Hours").onchange=calculate; document.getElementById("OT_Hours").onchange=calculate; </SCRIPT>
×
×
  • Create New...