TOPIC:

how works actionscript if javascript is off 3 years 8 months ago #221547

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

everybody use this actionscript to create something with the data of our files.
But what would be, if the user has disabled the javascript in his browser?

Nothing will work, if i understand it right?

And after that, nothing will appear in other fields, databases, emails, and so on :-(

So... i tried to do not use javascript and want to use some script which works on the server "alone"... also some scripts are declined in the browser-options :-/

Maybe someone could explain, how i can guarante it to the users who are only use the frontend, but could not use it because the security-options will "block" the usability-code (coded in Javascript).

You understand my thoughts?

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

how works actionscript if javascript is off 3 years 8 months ago #221601

  • JulianGracin's Avatar
  • JulianGracin
  • Offline
  • Developer
  • Developer
  • Posts: 673
  • Karma: 33
  • Thanks: 66
Hi,

Javascript is a part of every browser and it's the reasons the websites look decent. Without it, a lot of site functionality would be impossible.

Most of the browsers will not block javascript. And if the user has, for some reason, disabled javascript in the browser, they will be unable to submit the form.

If you were to use only php ran on your server, there is no way to respond to any of the events the user has triggered.

I hope you understand, that you can't do it without javascript.


Regards,
Julian
=========================================
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.

how works actionscript if javascript is off 3 years 8 months ago #221602

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


We cannot guarantee that JS will run in 100% scenarios, since as you know enabling/disabling JS is a browser setting which is totally up to the users.

What you can do is try to achieve what you want with PHP in FORM PIECES TAB and SUBMIT PIECES TAB since that will surely get executed.

You can learn more about our Script&Pieces and how to add functionality to your form here : crosstec.org/en/support/online-documenta...ript-and-pieces.html

Second solution would be to modify the error message which is displayed when JS is disabled.
Current message is " Please turn on javascript to submit your data. Thank you! " and can be found in :administrator/components/com_breezingforms/libraries/crosstec/classes/BFQuickMode.php

You can modify it so it warns the user, if they want finish / submit / expirinace the form, that JS needs to be enabled.

Hope this helps.

Regards,
Mario

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

how works actionscript if javascript is off 3 years 8 months ago #221662

  • Topic Author
  • Mister.Miracle
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 138
  • Karma: 1
  • Thanks: 1
okay. thanks a lot...
it was an interessting discussion around at our collegues.

Now i can explain it a little bit better :-)

And.... i will try to use most of server-inside-coding, as much as it is possible and necessary.

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

how works actionscript if javascript is off 3 years 8 months ago #221686

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

Great !
Let us know if you have any other questions.

Regards,
Mario

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

how works actionscript if javascript is off 3 years 5 months ago #227379

  • najafi
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 2
  • Thanks: 0
YES..i understand what u mean
but about your question about ...Maybe someone could explain, how i can guarante it to the users who are only use the frontend, but could not use it because the security-options will "block" the usability-code (coded in Javascript).
i dont have any idea

جراحی بینی

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

  • Page:
  • 1
  • 2
Time to create page: 0.051 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!