TOPIC:

Debugging for scripting in forms 3 years 1 month ago #230179

  • Topic Author
  • Mister.Miracle
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 138
  • Karma: 1
  • Thanks: 1
hello,

will i be able to create some "debugging"-strings in my code, i code into my forms?

i tried to give out some string via echo "hello World!"; but nothing is shown - not on the website, not on the console (firefox - F12).

how could i create debuging-parts in special-code-parts for testing my code?

Thx.

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

Debugging for scripting in forms 3 years 1 month ago #230184

  • DarkoCujic's Avatar
  • DarkoCujic
  • Offline
  • Developer
  • Developer
  • Posts: 2154
  • Karma: 67
  • Thanks: 265
Hey,

depends on what script you're trying to debug.

If you're trying to debug JavaScript, then a console.log('.....'); is all you need. However, debugging PHP can be a bit more difficult as you have to output everything. So, a combination of echo and print_r encased in a <pre> tag to make it preformatted and easily read. All the text should be at the top of your form when echoed.

Regards,
Darko
Satisfied with our support? PayPal tips
===========
Need to renew Pro Support? Buy Here!
===========
Satisfied? Consider a membership!
===========
Like us on Facebook
===========
Support Crosstec and get ALL EXTENSIONS and professional support for just $5. Here!

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

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.043 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!