Forums

submit only button/image using database info to send

wdemilly 04 Apr, 2011
I'd like to create a banner ad which is actually a "submit" button.

Before visitors see this ad, they will have already filled out a form which registers them in the joomla database and logs them in without having a validation email (is this possible)?

So the ad would do two things:

1. redirect visitor to an outside site
2. send an email to admin notifying admin of the users's data. (I don't want to have the button open a "send us an email" window).

Is this possible and if so how do I accomplish this.
GreyHead 05 Apr, 2011
Hi wdemilly,

Before visitors see this ad, they will have already filled out a form which registers them in the joomla database and logs them in without having a validation email (is this possible)?

Yes, that's entirely possible - though you run the risk of getting fake emails.

You can create an image submit button using an input with type='image'. This isn't great HTML but will work OK most of the time. (It may also be possible to so the same with a CSS background image.)

Use this button in a ChronoForm and the rest is straightforward.

Bob
This topic is locked and no more replies can be posted.