Hey SP, i dont think the problem was the code itself, there must have been
something wrong with the version of web2py i had implemented my application
on because when i switched to version 2.17.2 that problem disappeard, so i
just assumed the problem was with the previous version of web2py i was
I think there is a problem in field type in Days because the default is a
string so days have a string value, you are multiplying string with an
integer in the computed field.
# 1
db.define_table('ClientDetails',
Field('CheckIn', 'date', label=SPAN('Check-In Date',
_style="font-wei
With this one there was no error traceback, the form just failed to submit
showed a message that read *Error in form, please check it out *and i do
have a field Number_of_Guests i just didnt include it coz i thought i was
minimizing the whole code to show what could the root cause of the problem
pls show the error traceback, it's hard to know what the root cause.
just a quick analyze (guess), perhaps it's no Number_of_Guests field in
your table definition, so it can't be calculated
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://
4 matches
Mail list logo