Hi Marc, Thanks for the example.
with the reference of your code I have added age field but in update profile, it is not showing age/vat text-field in form. How to update that ContactInfoForm ? Thanks & regards. Dierckx, Marc wrote: > Hi, > > enclosed the files. I added a VAT and registration field. An age would work > in the same way > > regards, > > marc > > -----Ursprüngliche Nachricht----- > Von: satchmo-users@googlegroups.com im Auftrag von Alvaro Gomez > Gesendet: Mo 08.11.2010 10:43 > An: satchmo-users@googlegroups.com > Betreff: Re: How to add age field in registration form of satchmo > > Hi > > I'm interested in getting the example code too. > > > Regards > > > 2010/11/8 Dierckx, Marc <marc.dier...@messergroup.com> > > > Hello, > > > > you add a field to a new model and add a onetoone relationship with the > > contact model > > > > You add a field to the registration form. > > > > you utilse a signal (form_init) to intercept the form before it is being > > shown in the registration_form.html and fill the field with content of the > > new model if the contact already exists > > > > you utilise a signal (post_save) to save the extra field in the form in > > your new model. > > > > I can send you the code in the evening. > > > > Regards, > > > > marc > > > > -----Original Message----- > > From: satchmo-users@googlegroups.com [mailto: > > satchmo-us...@googlegroups.com] On Behalf Of Nik > > Sent: Montag, 8. November 2010 09:15 > > To: Satchmo users > > Subject: Re: How to add age field in registration form of satchmo > > > > Thanks for the reply. > > I m beginner with django, satchmo. From the following link, I am not > > getting clue. If possible, can you explain with example > > > > how to add "age" in existing contact model without affecting that > > model & which "views" need to take care? how to add that "age" filed > > in registration_form.html page ? and how to save "age" value in to > > contact table? > > > > Thanks & regards. > > > > On Nov 8, 12:48 pm, "Dierckx, Marc" <marc.dier...@messergroup.com> > > wrote: > > > Hi, > > > > > > use signals as described in > > > > > > http://groups.google.com/group/satchmo-users/browse_thread/thread/3bffef > > > 41239456ee/e96993ab60424e75?lnk=gst&q=extend+user+vat#e96993ab60424e75 > > > > > > regards, > > > > > > marc > > > > > > -----Original Message----- > > > From: satchmo-users@googlegroups.com > > > > > > [mailto:satchmo-us...@googlegroups.com] On Behalf Of Nik > > > Sent: Montag, 8. November 2010 08:43 > > > To: Satchmo users > > > Subject: How to add age field in registration form of satchmo > > > > > > Hi All, > > > > > > Please tell me, how to add new filed (for example : "age") in existing > > > contact model without affecting that model. And what are the "views" > > > need to be take care? > > > > > > How to add that "age" filed in registration_form.html page ? and how > > > to save "age" value in to contact table? > > > > > > Thanks & regards. > > > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Satchmo users" group. > > > To post to this group, send email to satchmo-us...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > satchmo-users+unsubscr...@googlegroups.com<satchmo-users%2bunsubscr...@googlegroups.com> > > . > > > For more options, visit this group athttp:// > > groups.google.com/group/satchmo-users?hl=en. > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Satchmo users" group. > > To post to this group, send email to satchmo-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > satchmo-users+unsubscr...@googlegroups.com<satchmo-users%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > > http://groups.google.com/group/satchmo-users?hl=en. > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Satchmo users" group. > > To post to this group, send email to satchmo-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > satchmo-users+unsubscr...@googlegroups.com<satchmo-users%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > > http://groups.google.com/group/satchmo-users?hl=en. > > > > > > > -- > Alvaro > www.dorsalcero.net > > -- > You received this message because you are subscribed to the Google Groups > "Satchmo users" group. > To post to this group, send email to satchmo-us...@googlegroups.com. > To unsubscribe from this group, send email to > satchmo-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/satchmo-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to satchmo-us...@googlegroups.com. To unsubscribe from this group, send email to satchmo-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.