HTML_AJAX.formSubmit dropping "+" characters

View: New views
4 Messages — Rating Filter:   Alert me  

HTML_AJAX.formSubmit dropping "+" characters

by Wade Hedgren :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a form with a select element with one of the option's values = "MlcCre+Cal+/+".  When the form is submitted via "HTML_AJAX.formSubmit (frm, post_callback)" the "+" characters are stripped from the string in the resulting POST array.  When submitting the same string via a text element, the string "MlcCre+Cal" is returned in the POST array.

I'm using html_ajax_lite as my client.

Also, on another subject: I'm interested in contributing to this package by working on your documentation.  How can I get started?

Cheers,

Wade

Wade W. Hedgren
Director of IT
University of Cincinnati
Dept. of Psychiatry
Personal home Page: http://www.psychiatry.uc.edu/Wade
Department Site: http://www.psychiatry.uc.edu


_______________________________________________
Html_ajax-devel mailing list
Html_ajax-devel@...
http://lists.bluga.net/mailman/listinfo/html_ajax-devel

Re: HTML_AJAX.formSubmit dropping "+" characters

by JoshuaEichorn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Wade: sounds like an encoding problem spaces can be encoded as + so i'm
guessing thats the problem can you open up a bug

As far as writing docs there are a couple options.  You can either start
making edits in the wiki, or if you want to target the pear manual
you'll want to get on the pear-doc list and ask for some help getting
started with the setup for that.

-josh
Wade Hedgren wrote:

> I have a form with a select element with one of the option's values =
> "MlcCre+Cal+/+".  When the form is submitted via "HTML_AJAX.formSubmit
> (frm, post_callback)" the "+" characters are stripped from the string
> in the resulting POST array.  When submitting the same string via a
> text element, the string "MlcCre+Cal" is returned in the POST array.
>
> I'm using html_ajax_lite as my client.
>
> Also, on another subject: I'm interested in contributing to this
> package by working on your documentation.  How can I get started?
>
> Cheers,
>
> Wade
>
> Wade W. Hedgren
> Director of IT
> University of Cincinnati
> Dept. of Psychiatry
> Personal home Page: http://www.psychiatry.uc.edu/Wade
> Department Site: http://www.psychiatry.uc.edu
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Html_ajax-devel mailing list
> Html_ajax-devel@...
> http://lists.bluga.net/mailman/listinfo/html_ajax-devel
>  

_______________________________________________
Html_ajax-devel mailing list
Html_ajax-devel@...
http://lists.bluga.net/mailman/listinfo/html_ajax-devel

Re: HTML_AJAX.formSubmit dropping "+" characters

by Laurent Yaish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Documentation would be great!

Sent from my iPhone

On Jun 13, 2008, at 6:31 AM, "Wade Hedgren" <wade@...> wrote:

I have a form with a select element with one of the option's values = "MlcCre+Cal+/+".  When the form is submitted via "HTML_AJAX.formSubmit (frm, post_callback)" the "+" characters are stripped from the string in the resulting POST array.  When submitting the same string via a text element, the string "MlcCre+Cal" is returned in the POST array.

I'm using html_ajax_lite as my client.

Also, on another subject: I'm interested in contributing to this package by working on your documentation.  How can I get started?

Cheers,

Wade

Wade W. Hedgren
Director of IT
University of Cincinnati
Dept. of Psychiatry
Personal home Page: http://www.psychiatry.uc.edu/Wade
Department Site: http://www.psychiatry.uc.edu

_______________________________________________
Html_ajax-devel mailing list
Html_ajax-devel@...
http://lists.bluga.net/mailman/listinfo/html_ajax-devel

_______________________________________________
Html_ajax-devel mailing list
Html_ajax-devel@...
http://lists.bluga.net/mailman/listinfo/html_ajax-devel

Re: HTML_AJAX.formSubmit dropping "+" characters

by superfly :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hey wade,
have you tried to utf8_en/decode() - this helped me when i got troubles with PEAR_AJAX and special characters ;)

greetings,
franz


Wade Hedgren wrote:
I have a form with a select element with one of the option's values = "MlcCre+Cal+/+".  When the form is submitted via "HTML_AJAX.formSubmit (frm, post_callback)" the "+" characters are stripped from the string in the resulting POST array.  When submitting the same string via a text element, the string "MlcCre+Cal" is returned in the POST array. I'm using html_ajax_lite as my client. Also, on another subject: I'm interested in contributing to this package by working on your documentation.  How can I get started? Cheers, Wade Wade W. Hedgren Director of IT University of Cincinnati Dept. of Psychiatry Personal home Page: http://www.psychiatry.uc.edu/Wade Department Site: http://www.psychiatry.uc.edu 

_______________________________________________
Html_ajax-devel mailing list
Html_ajax-devel@lists.bluga.net
http://lists.bluga.net/mailman/listinfo/html_ajax-devel