
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Which mv_todo to use?
Quoting Ron Phipps (rphipps@reliant-solutions.com):
> I'm trying to accomplish the 'Send a link to a friend' on a new site
> design. I was able to send the link using a hard coded email address
> however I would like to allow the user to enter their name and the
> destination address. The problem is that if I use [value email_address]
> the value does not exist yet since the form has not been submitted.
> Which mv_todo can be used to submit the form before the rest of the code
> in the button tag is ran? Or is there a way to access the form fields
> before the form has been submitted? Would a better way be to use an
> intermediate page which sends the email then bounces back to the current
> page? I have included the code here for everyone to view. Thanks!
You can either:
1. Use [cgi email_address] to access the address.
2. Use mv_check instead of mv_click.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users