Does anybody have any ideas about sharing form fields across 2-3 forms?


Kenneth


-------- Original Message --------
Subject:        Sharing fields across form
Date:   Sat, 01 Jan 2011 16:17:13 +0200
From:   Kenneth Lundström <[email protected]>
To:     [email protected]



Hello,

is it possible to share fields and create a form with multiple submit
buttons.

Example:
Description: (same for both forms)

Product: (specific for form one)
Hours: (specific for form two)

Submit product
Submit hours

Depening on which button you press different tables should be used.

I tried with creating two SQLFORM:s and making my own view with two
custom.begin, custom.end and custom.submit but everytime form one
accepts is used.


Kenneth


Reply via email to