I need values of request.vars.duallistbox_demo when form "class="modal-content animate"" is submitted.
At present i am getting the value as none for Here is My Code Html part <div id="id01" class="modal"> <form class="modal-content animate" action="{{= URL('default','companyexample')}}"> <div class="container"> <label><b>Username</b></label> <input type="text1" id="ct_username" placeholder="Enter Username" name="uname" required> </div> <div class="container"> <label><b>Password</b></label> <input type="password1" id="ct_password" placeholder="Enter Password" name="psw" required> </div> <div class="container"> <label><b>serverip</b></label> <input type="text1" id="ct_filepath" placeholder="Enter File Path" name="sip" required> </div> <div class="container"> <label><b>File Path</b></label> <input type="text1" id="ct_filepath" placeholder="Enter File Path" name="fpath" required> </div> <div class="container"> <button type="submit" >Login</button> <button type="button" onclick="document.getElementById('id01').style.display='none'" >close</button> </div> </form> </div> <form id="demoform" action="#" method="post"> <h3> Select the Phone Numbers that your selecting. </h3> <select multiple="multiple" size="25" name="duallistbox_demo"> {{for customerrow in customerdatarows:}} <option value="{{=customerrow.id}}">{{=customerrow.PhoneNumber}}</option> {{pass}} {{for datarow in ct_serverdata:}} <option value="{{=datarow}}" selected="selected">{{=datarow}}</option> {{pass}} </select> <br> <button type="button" class="btn btn-default btn-block" onclick="document.getElementById('id01').style.display='block'">Submit data</button> </form> default.py def companyexample(): datatoctserver = request.vars.duallistbox_demo print datatoctserver -- 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.