sending email with contents of fields.. and checkboxes?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
sx-74
Posts: 22
Joined: Wed Nov 30, 2011 11:27 pm

sending email with contents of fields.. and checkboxes?

Post by sx-74 » Thu Dec 15, 2011 1:04 am

Hey all,
I have used this script on a button for my iOS card.

Code: Select all

   revMail "here@there.com",,"Instructor Contact Information", field "your_name" & cr & "Semester Teaching" & cr & field "semester_teaching" & cr & "The best way to reach me:" & field "how_to_reach" & cr & "Class Information:" & cr & field "class_day_time" & "Room Preference"
It is crude, but it works.

Is it possible to include "checked" checkboxes in this email as an option so that 'checked' boxes 1 - 5 would also be included?
How would that be labeled?

Code: Select all

If the checkmark of "check2" is true   ?
Thanks

- Jay

sx-74
Posts: 22
Joined: Wed Nov 30, 2011 11:27 pm

Re: sending email with contents of fields.. and checkboxes?

Post by sx-74 » Thu Dec 15, 2011 9:03 pm

This looks like a rather kludgy work around.. but what about..

Code: Select all

on mouseUp
   if the hilite of button "check1" then
      put "apple" into field "check1a"
end if
end mouseUp
Which I could then tie into the script that sends the email from above..

Thoughts?

Post Reply