Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for browsers without javascript #24

Closed
GoogleCodeExporter opened this issue Jul 16, 2015 · 5 comments
Closed

Support for browsers without javascript #24

GoogleCodeExporter opened this issue Jul 16, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

At the moment there are many methods on the form where when javascript is
turned off you are no longer able to fill in the entire form.

Do you plan on making the class friendly to users with javascript turned off?

Some of the fields wont be too hard to do, for instance recaptcha already
can support when users dont have javascript turned on... Below are changes
for recaptcha to get it going without javascript, I need to read the
recaptcha API a bit more to let you change the template theme color and
language, but you get the idea.

2067:
                elseif($eleType == "captcha")
                {
                                        if(empty($this->ajax)){
                                            require_once($this->captchaPath
. "/recaptchalib.php");
                                            $str .=
recaptcha_get_html($this->captchaPublicKey);
                                        }

2663:
                    if(!empty($this->ajax)) {
                        if(empty($this->preventCaptchaLoad))
                            $str .= "\n\t" . '<script
type="text/javascript"
src="http://api.recaptcha.net/js/recaptcha_ajax.js"></script>';

                        $str .= "\n\t" . '<script type="text/javascript">';
                        $str .= "\n\t\t" . 'Recaptcha.create("' .
$this->captchaPublicKey . '", "' . $captchaID . '", { theme: "' .
$this->captchaTheme . '", lang: "' . $this->captchaLang . '" });';
                        $str .= "\n\t</script>\n\n";
                    }

Original issue reported on code.google.com by moncojhr@gmail.com on 15 Mar 2010 at 2:54

@GoogleCodeExporter
Copy link
Author

At this time, I don't have plans to make the class friendly to users with 
javascript turned 
off.  The development time / benefit ratio doesn't make sense.

- Andrew

Original comment by ajporterfield@gmail.com on 17 Mar 2010 at 4:41

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

This request has been added to the NewFeatureRequests wiki.

Original comment by ajporterfield@gmail.com on 27 Mar 2010 at 6:24

@GoogleCodeExporter
Copy link
Author

Original comment by moncojhr@gmail.com on 9 Apr 2010 at 6:14

  • Changed state: Accepted
  • Added labels: Priority-Low, Type-Enhancement
  • Removed labels: Priority-Medium, Type-Defect

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Version 2.0 of this project improves support for users with javascript turned 
off.  Most of the jQuery elements should gracefully fall back to standard html 
form elements.  I'm calling this issue fixed.

Original comment by ajporterfield@gmail.com on 14 May 2011 at 3:30

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant