Jump to content


  • Posts

  • Joined

  • Last visited

jsingerforusaenergy's Achievements


Newbie (1/14)



  1. Hi, I'm making a report for my company that will give us information about how many leads a sales rep has run, among other things. What I'm trying to do is create a report that will calculate the number of records with that Rep's rep code on them. I have no idea how I would do this. For example in the leads table, there are 24 leads assigned to rep code CCUR. on the report I don't want to see each lead, just the number of leads that CCUR was assigned to. I assume I'm going to need to use javascript for this, and I'm on a very tight deadline. Any help would be greatly appreciated.
  2. I'll try that thanks a ton! EDIT: Well, I changed the references to EditRecord, unfortunately that didn't fix the solution. the script currently looks like this function confirmation() var confirm = document.getElementById(\"EditRecordBIZ_appointments_Appointment_Confirmation\").value; { if (confirm == yes) { document.getElementByID(\"EditRecordBIZ_appointments_Appointment_Status\").value=\"Confirmed\"; } } document.getElementByID(\"caspioform\").onsubmit=confirmation;
  3. Hi, I'm trying to set up a system to use 3 different checkboxes to each assign a value to a specific field from a details page. I could use a dropdown to achieve the effect I'm looking for but I'm new to javascript and databasing and am using this as a practice test to move on to bigger and better things. The code I'm using looks like this: function confirmation() { if(document.getElementById(\"InsertRecordBIZ_appointments_Appointment_Confirmation\").checked) { document.getElementByID(\"InsertBIZ_appointments_Appointment_Status\").value=\"Confirmed\"; } else if(document.getElementById(\"InsertRecordBIZ_appointments_Appointment_cancelReschedule\").checked) { document.getElementById(\"InsertRecordBIZ_appointments_Appointment_Status\").value=\"Reschedule\"; } else if(document.getElementById(\"InsertRecordBIZ_appointments_Appointment_cancelEnd\").checked) { document.getElementById(\"InsertRecordBIZ_appointments_Appointment_Status\").value=\"End\"; } else { document.getElementbyId(\"InsertRecordBIZ_appointments_Appointment_Status\").value=\"\"; } } document.getElementByID(\"3_appointments_action_confirmation\").onsubmit=confirmation; any help on where I'm going wrong would be greatly appreciated. -jsinger
  • Create New...