Re: newbie problem with accepting form input

2010-12-13 Thread Titan, Jer-ming Lin
Hi John, each element in the choices is a two elements tuple. first one is the real data will be saved in the database and second one will present on the form. therefore, the max_length of 'type' field must be modified to fit the first element in the choices tuple. Plz see the following code, i

Re: newbie problem with accepting form input

2010-12-14 Thread Titan, Jer-ming Lin
27;latest_incidentreporter_list': > latest_incidentreporter_list, 'new_report_form':rform, > 'new_incident_form':iform,'username':username}) > > so basically passing to form structures to the HTML page and then trying to > show new_report_form.type a