TOPIC:

Sending Email system 3 years 7 months ago #193043

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 554
Hello,

I'm glad you are making progress with your form :)

1# If you want to display form ID in form follow these steps :

1) create new textfield element in your form and give it name "formid"
2) go to form advance properties > more options > Form pieces > Before Form and copy this code :

$this->execPieceByName('ff_InitLib');
ff_setValue('formid', $this->formrow->id);

I'm sending you a form with example ready and working so you can check how its done.

Let us know if you have any questions.
Attachments:

Please Log in or Create an account to join the conversation.

Sending Email system 3 years 7 months ago #193048

  • Topic Author
  • sdeveloper
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 69
  • Thanks: 0
Hi ,
Many thanks for your support,
This code you sent it yesterday but I don't need it ,I want to use the actual database RECORD ID. I see this number in the body of the email , But I need this appear in the page of form .
I need to increase count of form ID for each time of entering.

Thanks,
SDeveloper

Please Log in or Create an account to join the conversation.

Sending Email system 3 years 7 months ago #193061

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 554
Hello SDeveloper,

Maybe you can try this code to see if this is what you want achieve. ( just replace it with previous one I sent you ).
What this will do it will take the last record ID and add +1 so you have a actual record displayed.
$this->execPieceByName('ff_InitLib');

$db = JFactory::getDbo();
$db->setQuery("Select Max(id) From #__facileforms_records");
$next_record_id = intval($db->loadResult()) + 1;

ff_setValue('formid', $next_record_id); // change "NameOfTheField" with your element name where you want to display the record id


It might get tricky if you will have multiple users using the form at the same time, but then you would need a different approach.
If you need unique ID's for your customers you can take a look at this solution : crosstec.org/en/forums/41-breezingforms-...?limitstart=0#169894

Regards,
Mario

Please Log in or Create an account to join the conversation.

Sending Email system 3 years 7 months ago #193068

  • Topic Author
  • sdeveloper
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 69
  • Thanks: 0
Hi Mario,
Really you are a great one who I'm working with him , all your solution become true,
Please can you visit my web site administrator and take a look around my form.

Please now focus to me .. The form is done but we have a new issue, When I send an email from the form to any email of our domain we not received anything . but when I send it to gmail we received it normally.
Now we want three things 1- The sender receive a copy 2- The email received to receipt 3- The site admin received a copy.

Can You help me please.

Thanks a lot,
SDeveloper

Please Log in or Create an account to join the conversation.

Last edit: Post by MarioPuco.

Sending Email system 3 years 7 months ago #193076

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 554
Hello SDeveloper,

I have added "Reset" name on your button so it looks better.
Also it would be better if you use ReCaptcha instead of regular Captcha. Everything else looks really good B)

Regarding your questions :

I have put my email address in (1) "Sender Email", and my co-workers to (2) "Email Of Recipient*" and we both got an email from your website, ( You have mailback option in this elements enabled which is good ). I guess you don't receive them since you are sending emails to your own domain ? Is this right ?


I can see that in Joomla Global Config you are using SMTP Mailer, and if you are sending emails from your domain to "yourself" this can trigger your servers SPAM rules. Did you check your SPAM folder to see if he emails are ending up there ?
Can you try using PHP mailer to see will this change anything ?

Let us know if this helped.

Regards,
Mario

Please Log in or Create an account to join the conversation.

Last edit: Post by MarioPuco.

Sending Email system 3 years 7 months ago #193079

  • Topic Author
  • sdeveloper
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 69
  • Thanks: 0
Hi Mario,
Thanks for your kind words , that is your teaching is grate .. Thanks for your support too much .. please can you send to me your personal email to keep you close to me and make you a friend .. it's make my pleasure.

OK .. I'm changing to php mail option but it's same problem , I think because of the Account type we use is POP3/SMTP .. I think we should use IMAP .. I will check this and reply to you.

Best Regards,
SDeveloper

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.057 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!