sorry, perhaps you can use list:reference type of field for that. - create table that store cell phone number and it's service type - then define config table that have list:reference to the table that store cell phone number and service type. - another thing is if you want to add new cell phone number and service type that not recorded yet and want to remain in that page form, consider use the modal that have form to input new data cell phone number and service type
best regards, stifan On Friday, November 13, 2015 at 12:36:54 PM UTC+7, at wrote: > > Hi Stifan, > > Thank you for your prompt reply. This will not give the desired result. > After your suggested change, I get: > > > What I need is service-type and phone-number side-by-side, so when I add a > record it should add one service-name and one corresponding phone number. > > Best Regards, > Atif > > On Friday, 13 November 2015 09:56:32 UTC+5, 黄祥 wrote: >> >> pardon me, not sure what do you mean with free-text field? is it same >> like cello phone type of field (list:string) >> e.g. >> db.define_table('config', >> Field('cell_phones', 'list:string', label=T('Dispatchers Cell Phone >> #s') ), >> Field('service_provider_name', 'list:string', label=T('Service >> Provider Name') ) >> ) >> >> best regards, >> stifan >> > -- 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.