On vrijdag 26 januari 2018 22:25:55 CET eil...@themaii.org wrote:
> well, you certainly got me correct! I'm fairly new to python - didn't do
> much coding to learn. Trial by fire, sort of. and the original person who
> put this together is now gone from the company and won't answer any
> outstandin
well, you certainly got me correct! I'm fairly new to python - didn't do
much coding to learn. Trial by fire, sort of. and the original person who
put this together is now gone from the company and won't answer any
outstanding questions. Plus, I *think* he got most of the code from 3rd
party s
There are a bunch of issues with this code:
1) Spell Physical correctly:
> 2 - Phyiscal
> if form.data['handicapped'] is 'Physical' or 'Mental':
> handicapped = forms.ChoiceField(choices=[(x, x) for x in ('---',
> 'Mental', 'Physcal')], required=False)
Comparison of non
I need to create an edit box called handicapped with three drop down
options on the display:
0 - none
1 - Mental
2 - Phyiscal
and connect it to the handicapped field init(11) in the family database
I know I have to do something like:
if form['handicapped'].data == 1 or 2:
4 matches
Mail list logo