Newbies AV Posted April 21, 2006 Newbies Posted April 21, 2006 Hi there! I'm trying to make a 'send mail'-button, with a confirmation, to make me remember wich date i send the email. I've tried to make a field with two choises: send and not send. then a field to print current date (actually i referred to a last modified field, since i don't know how to refer to current date. i'll learn...) when first field was set to 'send' and then a third field, wich was a button defined by a calculation, so if first field was set to 'send' then it would send a message. this works like sh**! since my button is a field I have no text in it, so no one else than me knows what its for, and if the first field isn't set to 'send' my button pops off email to clients without any content... I just want a button to press, who sends an email and prints a confirmation with a date... It seems simple, but aparrently I'm not a simple man.... thanks
Genx Posted April 21, 2006 Posted April 21, 2006 The only part of the question i could make sense of was how to evaluate the current date... Do it using the Get(CurrentDate) function. I'm really a bit confused where your trouble is. Just write a script akin in some way to the following: Show Custom Dialog [ "Confirm" ; "Are you sure you want to send this Message?" ; "OK" ; "Cancel"] If [ Get(LastMessageChoice) = 1] Send Mail [whatever you want here] SetField [Your date field here ; "Get(CurrentDate)"] End If
Recommended Posts
This topic is 6853 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now