CalcBuilder Forum

Emailing

User moon_275 2012-04-12 00:28:22

Hi

I want to send an email to administrator not on calculate but as a kind of submit-button.

Is there a way I can make a default email address instead of the inputbox that shows when the "Show send by email?"-option is active.

In that way a customer can try to calculate various combinations of diffenrent goods and when satisfied click the submit-button and the administrator gets the preorder- or enquiry-form.


Thanks

Moonsoft support 2012-04-12 11:22:17

Hello,

We send you by email all message.

Regards,

Moonsoft Team

Edited by MSTeam - 12.04.2012 11:27

Moonsoft support 2014-08-26 17:01:19

Is it possible to send this code to me as well???

Moonsoft support 2014-08-26 18:08:39

Hello,

We could send the code but it was for a version two years ago, so maybe is useless in your version. But, if you want to send an email to administrator (or any other) you should use 'Send form results to' to set email.

Regards,

Moonsoft support 2014-08-27 09:35:48

I already tried that.
But the issue is that sometimes people recalculate and recalculate.
So at the end we receive numerous emails with calculations.

I just need a button at the end of the results, Would you like to submit to the administrator?

Is that possible?

Moonsoft support 2014-08-27 11:43:48

Hi,

It's possible to use 'Show send email function?' changing some HTML code in 'Javascript events' tab:

- Set 'Show send by email?' to Yes in configuration tab in your calculator.
- Add to 'Javascript events' tab in 'Executed on loaded page' the following lines:

CB('.cb_bootstrap').find('input').val('YOUREMAIL@EMAIL.COM');
CB('.cb_bootstrap').find('input').css('visibility','hidden');

// Copy the following code if you want to change envelope image with text
CB('.cb_bootstrap').find('input').closest('span').find('.icon-envelope').html('YOUR_BUTTON_TEXT');
CB('.cb_bootstrap').find('input').closest('span').find('.icon-envelope').css('background','none');
CB('.cb_bootstrap').find('input').closest('span').find('.icon-envelope').css('width','auto');

- Change YOUREMAIL@EMAIL.COM with the email you want to receive calculator results and YOUR_BUTTON_TEXT.

Hope this helps. Regards,

...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!
...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!