dbTalk Databases Forums  

SEND MAIL script with check box

comp.databases.filemaker comp.databases.filemaker


Discuss SEND MAIL script with check box in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
rnd
 
Posts: n/a

Default SEND MAIL script with check box - 08-03-2003 , 04:01 PM






okay - i've figured out how to make a check box into a button that
performs a SEND MAIL script.

but - i can't figure out how to add a step to the script that checks
the box! now that it's a button it doesn't check when i click on it...

someone suggested what the script should read like but as i can't
write it in text and import it i need help setting it up through
scrptmaker.

THANKS!

Reply With Quote
  #2  
Old   
Howard Schlossberg
 
Posts: n/a

Default Re: SEND MAIL script with check box - 08-03-2003 , 06:09 PM






You need to add a Set Field step to your script to set the checkbox. It
depends what the value is in your value list, but most people usually
use a value of '1'. If this is the case, you would add to your script:
Set Field[CheckboxField, 1]

rnd wrote:
Quote:
okay - i've figured out how to make a check box into a button that
performs a SEND MAIL script.

but - i can't figure out how to add a step to the script that checks
the box! now that it's a button it doesn't check when i click on it...

someone suggested what the script should read like but as i can't
write it in text and import it i need help setting it up through
scrptmaker.

THANKS!
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg (818) 883-2846
FM Pro Solutions Los Angeles, California
Associate Member, FileMaker Solutions Alliance



Reply With Quote
  #3  
Old   
Peter
 
Posts: n/a

Default Re: SEND MAIL script with check box - 08-04-2003 , 06:36 AM



Hi,

as I suggested in my original reply, add a "Set Field [radio
button,"checked"]" to the beginning of your "Send mail script". I normally
use a value list for radio buttons with only one entry, which is "1". In
that case your script would look like :

Set Field["radio button","1"]
rest of script

Replace "1" with whatever you're using as a checked value.

Regards,

Peter

Quote:
okay - i've figured out how to make a check box into a button that
performs a SEND MAIL script.

but - i can't figure out how to add a step to the script that checks
the box! now that it's a button it doesn't check when i click on it...

someone suggested what the script should read like but as i can't
write it in text and import it i need help setting it up through
scrptmaker.

THANKS!



Reply With Quote
  #4  
Old   
Peter
 
Posts: n/a

Default Re: SEND MAIL script with check box - 08-04-2003 , 09:11 AM



Firstly, I suggest you read up on using Scriptmaker and calculations in
general. That being said, simply type "1" in the calculation window (without
the "")

Peter


"rnd" <rnd4 (AT) columbia (DOT) edu> schreef in bericht
news:2922dde.0308040553.453388ec (AT) posting (DOT) google.com...
Quote:
If this is the case, you would add to your script:
Set Field[CheckboxField, 1]

i see SetField in the scriptmaker - it lets me select the field but
when i click on specify it opens a calculation window

at no time does it let me specify a value list



Reply With Quote
  #5  
Old   
rnd
 
Posts: n/a

Default Re: SEND MAIL script with check box - 08-04-2003 , 04:29 PM



thanks - i got it working!

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.