TOPIC:

show qr code image before submit 5 years 1 month ago #178839

  • deserteagle's Avatar Topic Author
  • deserteagle
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 63
  • Thanks: 1
Hi, Lovre

amazing, it work as I expected, thanks!

I want let user be able to print out the result page, so I create a view by content builder and show the image in the page, but the menu, navigation bar will be print out also, is it possible just print out the web page content ( in the red square in the attachment) without other things ?
Everything is possible.
Attachments:

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

show qr code image before submit 5 years 1 month ago #178856

  • lovre's Avatar
  • lovre
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 2667
  • Karma: 76
  • Thanks: 329
Hi,

This print option should work just as you said, printing out only the article. Could you please share with us a link to the ContentBuilder View so we can inspect.
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
===========================================
Need to renew Pro Support?
Buy Here!
===========================================
Satisfied?
Consider a membership!
===========================================
Like us on Facebook
===========================================
The following user(s) said Thank You: deserteagle

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

show qr code image before submit 5 years 1 month ago #178888

  • deserteagle's Avatar Topic Author
  • deserteagle
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 63
  • Thanks: 1
Hi Lovre

I checked the print option, but there is no print icon show up, only edit.

I tried check/unchecked "Article" option in Content Template, still no print icon.

Created a menu to link to the article, it's empty ( see attachment picture).

my form is behind a firewall which I can not open it, so I took screenshots of contentbuilder view of backend page( I keep others default without change).

please advice, thanks
Everything is possible.
Attachments:

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

Last edit: Post by deserteagle.

show qr code image before submit 5 years 1 month ago #178926

  • lovre's Avatar
  • lovre
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 2667
  • Karma: 76
  • Thanks: 329
Hi,

From your screenshots we can see that you are using a old version of ContentBuilder and Joomla. This print issue is very likely to be related to your old software versions. You should make sure that you are using the last current version of ContentBuilder: 0.9.91 (build 250) and if possible the latest Joomla.

Hope this helps.
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
===========================================
Need to renew Pro Support?
Buy Here!
===========================================
Satisfied?
Consider a membership!
===========================================
Like us on Facebook
===========================================
The following user(s) said Thank You: deserteagle

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

Last edit: Post by lovre.

show qr code image before submit 5 years 1 month ago #179006

  • deserteagle's Avatar Topic Author
  • deserteagle
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 63
  • Thanks: 1
Hi Lovre

The latest ContentBuilder: 0.9.91 (build 250) is for Joomla 3 but my site is Joomla 2.5.27.

I'm thinking about some ways to do it:
1. Is it possible show the image in a summary page and print it? I tried "<img id="QRCode"/> and init script, it work in the 1st page but not 2nd page (summary page)
or
2. Is it possible to make a download pdf at thank you page? no sure the code "ffgetelementbyname.src = ....." will work or only element value support on pdf download page.

"PDF DOWNLOAD ON THANK YOU PAGE"
crosstec.org/en/downloads/free/form-apps...-thank-you-page.html
Everything is possible.

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

show qr code image before submit 5 years 1 month ago #179090

  • lovre's Avatar
  • lovre
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 2667
  • Karma: 76
  • Thanks: 329
Hi,

1. You can add a "Submit button" element to your summary page and add this code to the custom ActionScript of that element (don't forget to check the "Click" checkbox):
function ff_ButtonName_action(element, action)
{
var source = ff_getElementByName('url').value;
popup = window.open();
popup.document.write("<img src='" + source + "'/>");
popup.focus();
popup.print();
}

Just be sure to change the "ButtonName" and the "url" if you have other element names.

2. You should add the following code to your thank you page intro or the sections description:
<p><a id="download" download>download</a></p>
, and then add this to your Initialization script setinterval function:
document.getElementById("download").href= ff_getElementByName('url').value;
,so your whole function will be like this:
function ff_QRcode_init()
{
setInterval(function() {
document.getElementById("QRCode").src = ff_getElementByName('url').value;
document.getElementById("download").href= ff_getElementByName('url').value;
}, 500);
} // ff_QRcode_init

I'm sending you a test form in a package which has these functions. Just install via package installer (BF Configuration).

Please let us know if you have troubles implementing one of these solutions.
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
===========================================
Need to renew Pro Support?
Buy Here!
===========================================
Satisfied?
Consider a membership!
===========================================
Like us on Facebook
===========================================
Attachments:
The following user(s) said Thank You: deserteagle

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

Last edit: Post by lovre.
Time to create page: 0.055 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!