Hello guys, i can not find how to the following things. 
I have a form that it's not related with any model, and i want to load it 
with initial data.

##START OF CODE 
class MyForm ( form.Form):

email = forms.CharField(label="Email");
name= forms.CharField(label="name");
lastname =  forms.CharField(label=" lastname");


def Loadname(self,n_name) 

 self.name.value = n_name; # I can not figure out how to do this.

##END OF CODE 

Thanks in advice for your help people!

Nicolas Ardison

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/CgF0V08yoW8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to