Page 1 of 1

Adding space in Web form query url

PostPosted: Tue Jul 22, 2014 10:45 am
by Shlosera
Hello,
I have some simple question about web form url. Actually I was not able to find information anywhere about this.
Is it possible to add space between two --A--web_var--B--s? I have provided web form with only one field for name that have to comprise first and last name. I set &name=--A--first_name--B----A--last_name--B-- and it really take first and last name together in the name field of the web form. The problem is that I can not insert space between them. I tried to put %20 in the middle but instead space this adds + between the names.
For example in the list I have the following lead first_name=John and last_name=Smith. In the query URL I put &name=--A--first_name--B--%20--A--last_name--B-- but the result in the web form name is John+Smith. Instead of space this put + sign.
Is there any way to divide these two field with space.
I will appreciate any help.

Re: Adding space in Web form query url

PostPosted: Tue Jul 22, 2014 6:58 pm
by mflorell
The space character is not a value URL character. I would recommend putting a plus "+" in there instead since it is replaced with a space in most URL conversion functions.

Re: Adding space in Web form query url

PostPosted: Wed Jul 23, 2014 2:06 am
by Shlosera
Initially I tried to put '+' instead %20 but the result is absolutely the same. The first and last names are separated by '+' not by space.
I need to know if it is possible at all or just it is a problem of the web form.

Re: Adding space in Web form query url

PostPosted: Wed Jul 23, 2014 7:34 am
by mflorell
If the + is showing up on your destination web page, then it is the problem of the destination web page not parsing the URL correctly.

Re: Adding space in Web form query url

PostPosted: Wed Jul 23, 2014 9:26 am
by Shlosera
Thanks for sharing your experience. I will check this with web page developers and I will share the result.