April 21, 200619 yr Newbies 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
April 21, 200619 yr 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
Create an account or sign in to comment