A button that saves then fires off [iol]?

  • 0
  • 1
  • Question
  • Updated 10 months ago
I am currently using a button to launch google calendar with all of the appointment information to add an event to google calendar. The problem is first you have to save then you can use the button. I am wondering if I can make this button save and fire off the image on load code?
would something like this work


"javascript:DoSaveAdd()"
[iol] & "calendar.js" & [/iol] &
"<a class='QBU_Button Vibrant Primary' " &
"  data-title='" & [Name for Appointment (F)] & "'" &
"  data-start='" & [Appointment Date] & "'" &
"  data-end='" & [Appointment Date] & "'" &
"  data-location='" & [Appointment Location] & "'" &
"  data-address='" & [Project Record - Project Address] & "'" &
"  data-startTime='" & [Start Time] & "'" &
"  data-endTime='" & [End Time] & "'" &
"  data-details='" & [Appointment Description Project] & "'" &
"  data-serviceAddress='" & [Service Record - Project Record - Project Address] & "'" &
"  data-leadaddress='" & [Project Record - Lead - Potential Job Address] & "'" &
"  data-team='" & [Team Origin] & "'" &
"  data-servicedetails='" & [Appointment Details Site Survey] & "'" &
">Add To Calendar</a>"
Photo of Michael Curtis

Michael Curtis

  • 524 Points 500 badge 2x thumb

Posted 10 months ago

  • 0
  • 1

Be the first to post a reply!