It seems you like handmade things;)
I don't see the closing tag - </form>
Try to remove your handmade hidden field and place
{{ =form.hidden_fields() }}
and it should be
return dict(form=in_form)
in the controller
On Thursday, February 14, 2019 at 9:59:41 PM UTC+3, Ben Duncan wrote:
>
> Sure:
>
> But, it seems something is strange with firefox, closing the web browser
> down and then opening it back up again, and it works the way it should...
>
> Gess ...... Is it always this weird / hard in the world of web programming
> ?
>
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> {{extend 'deflayout.html'}}
> {{include 'mectopline.html'}}
>
> <form enctype="multipart/form-data"
> action="{{=URL()}}"
> method="post"
> autocomplete="off"
> >
> <!-- Test form for fixed postion placement ... -->
> <h2>Input form</h2>
>
> <div style='font-size: 18px ; color: black ; text-align: left;
> width:80%;'>
> Enter your User ID
> <br/>
> <input name="userid" type='text' maxlength="40" style='width:100%;'>
>
> <div style='position: fixed;
> left:200px;
> top:300px;'>
> <br/>
> Password
> <br/>
> <input name="password" type='password'>
> </div>
>
> <div style='position: fixed;
> left:300px;
> top:400px;'>
> <br/>
> Remember Me
> <input name='rememberlogin' type='checkbox'>
> </div>
>
> <div style='position: fixed;
> left:600px;
> top:200px;'>
> <!-- <div style='display: flex; justify-content: left;'> -->
> <div class='button-item'>
> <input class='button web2py' type="submit" value="SUBMIT"
> style='padding-left: 10px ; padding-right:10px'>
> </div>
> </div>
>
>
>
> <h2>Submitted variables</h2>
> {{=BEAUTIFY(request.vars)}}
>
> <div style='position: fixed;
> left:800px;
> top:650px;'>
>
> I am moving around here ...
> <br>
> Stuff a line ...
> <br>
> More sir stuff a lot ...
> <br>
> <h1>Eat MORE CHEESE AT MOE's</h1>
> </div>
> <input type="hidden" name="_formname" value="login" />
> ~
> -------------------------------------------------------------------- END
> OF VIEW
> -----------------------------------------------------------------------------------
> *Ben Duncan*
> DBA / Chief Software Architect
> Mississippi State Supreme Court
> Electronic Filing Division
>
>
> On Thu, Feb 14, 2019 at 12:52 PM Leonel Câmara <[email protected]
> <javascript:>> wrote:
>
>> Can I see the rest of the view? It seems you're missing the form hidden
>> fields which have the token.
>>
>> --
>> 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 [email protected] <javascript:>.
>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.