Hi guys,
I know this might sound simple, but how can I get/use the values of the fields from ContactForm1 into ContactForm2?
from django import forms
class ContactForm1(forms.Form):
subject = forms.CharField(max_length=100)
sender = forms.EmailField()
class ContactForm2(forms.Form):
message = forms.CharField(widget=forms.Textarea)
For example I want to be able to use the value of the "sender" inside the ContactForm2, showing the message box just for some specific senders...
Any help will be welcome.
Thanks,
Leandro