[web2py] Re: web2py i cant submit customized form with input

2017-04-30 Thread Anthony
How is the form submitted? It looks like you simply have some text in a div 
for the "Send it" functionality.

Anthony

On Sunday, April 30, 2017 at 8:40:03 AM UTC-4, Maurice Waka wrote:
>
>
>
> down votefavorite 
> 
>
> I have a problem using input with web2py when it comes to form submission. 
> My code below:
>
> db.define_table('searches',
> Field('body', 'text', requires= (IS_NOT_EMPTY(), IS_LOWER()),
>   label= ''),
> auth.signature)
>
> def view_searches():
> user_id = request.args(0, cast=int)
> id = request.args(0, cast=int)
> body = db.searches.body
> form = SQLFORM(db.searches, formstyle='divs')
> if form.process().accepted:
> pass
>
> 
> {{=form.custom.begin}}
> 
> 
> 
> 
> 
> Send it
> 
> {{=form.custom.end}}
>
> I had the same issue with textarea and rectified with this 
> 
>  but 
> it looks like i might be missing something. My database is still empty when 
> posting text. Please assist. Kind regards
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: web2py i cant submit customized form with input

2017-04-30 Thread Maurice Waka
Yes

On Apr 30, 2017 20:06, "Anthony"  wrote:

> How is the form submitted? It looks like you simply have some text in a
> div for the "Send it" functionality.
>
> Anthony
>
> On Sunday, April 30, 2017 at 8:40:03 AM UTC-4, Maurice Waka wrote:
>>
>>
>>
>> down votefavorite
>> 
>>
>> I have a problem using input with web2py when it comes to form
>> submission. My code below:
>>
>> db.define_table('searches',
>> Field('body', 'text', requires= (IS_NOT_EMPTY(), IS_LOWER()),
>>   label= ''),
>> auth.signature)
>>
>> def view_searches():
>> user_id = request.args(0, cast=int)
>> id = request.args(0, cast=int)
>> body = db.searches.body
>> form = SQLFORM(db.searches, formstyle='divs')
>> if form.process().accepted:
>> pass
>>
>> 
>> {{=form.custom.begin}}
>> 
>> 
>> 
>> 
>> 
>> Send it
>> 
>> {{=form.custom.end}}
>>
>> I had the same issue with textarea and rectified with this
>> 
>>  but
>> it looks like i might be missing something. My database is still empty when
>> posting text. Please assist. Kind regards
>>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/web2py/WESUOITgwbM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: web2py i cant submit customized form with input

2017-04-30 Thread Anthony
Yes to what? How is the form submitted?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: web2py i cant submit customized form with input

2017-04-30 Thread Maurice Waka
A user types in text. The send button submits it. That's where I find it
difficult to submit the form

On Apr 30, 2017 22:49, "Anthony"  wrote:

> Yes to what? How is the form submitted?
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/web2py/WESUOITgwbM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.