Jessica, I don't know your platform's internals, but I suppose you're using some kind of scripting language to process your forms? It should be fairly easy to validate and format the numbers before posting to Kannel.
regards, Alejandro PS: Please "Reply to All" On Fri, May 29, 2009 at 12:58 PM, <jessica.vongunten-hi...@swisscom.com>wrote: > Alejandro, > > That's the problem though. I think that changing the user interface is the > only choice at this point, as I can't get rid of empty spaces any other way, > as far as I or anyone I've asked can see at least. > > Thank you for your help > > Jessica > > ------------------------------ > *From:* Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] > *Sent:* Friday, May 29, 2009 11:06 AM > *To:* von Gunten-Hinke Jessica, SCS-NIT-NIO-SE-ISC; users@kannel.org > *Subject:* Re: syntax again > > Jessica, > That's correct. You need to convert all non-alpha characters to their > url-friendly counterparts. > > I would remove the spaces inside the numbers, they're not needed at all. > > Regards, > > Alejandro > > On Fri, May 29, 2009 at 8:18 AM, <jessica.vongunten-hi...@swisscom.com>wrote: > >> Hi, >> >> I have read the user guide. I don't really understand where I am supposed >> to do that, as this is really my first experience using an sms service or >> using a web browser to operate another service. >> >> So For example with urlencoding, if I want to send a message like this: >> >> >> http://localhost:13013/cgi-bin/sendsms?username=username&password=password&to=+41079 >> 222 3333 +41 079 444 5555&text=Hello" >> >> It should instead be this::: >> >> >> http://localhost:13013/cgi-bin/sendsms?username=username&password=password&to=%2B41+079+222+3333%2B41+079+444+5555&text=Hello" >> >> >> Is this what you mean? Thank you for your help and your patience. >> >> Jessica >> >> ------------------------------ >> *From:* Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] >> *Sent:* Friday, May 29, 2009 8:08 AM >> *To:* von Gunten-Hinke Jessica, SCS-NIT-NIO-SE-ISC >> *Cc:* us...@vm1.kannel.org >> *Subject:* Re: syntax again >> >> Jessica, >> Read the userguide... You should urlencode those characters. >> >> <space> -> + >> + -> %2B >> >> etc, etc >> >> On Fri, May 29, 2009 at 8:02 AM, <jessica.vongunten-hi...@swisscom.com>wrote: >> >>> Hello All, >>> >>> I am still working on this syntax issue. Is there any way to make it >>> that + is recognized as the predecessor to a country code rather than some >>> sort of directive????? >>> I want that when a user enters their number +41 079 222 333 in the >>> add user interface that it can just be used directly, ie with empty spaces >>> and the + symbol sill in tact. Does anyone have an idea how we can make >>> kannel recognize these symbols as such????? >>> >>> Thanks in Advance >>> >>> Jessica >>> >>> >> >> >