Can i create a form with 2 model???

I have need to insert in a form a textfield of 2 different model…

…the problem is when i insert data in my db…can i have problem????

Can you help me??????

From the cookbook: How to use a single form to collect data for two or more models?