Aug 06, 2014; 22:27
Steffan A. Cline
Best Practices - Partial Forms - Lasso 9
I would like to see what other people do where one would have forms with
different numbers of fields BUT only 1 inline to save the changes.
Example:
Form 1
Fields A,B,C,D,E,F
Form 2
Fields A,B,C
Form 3
Fields C,D.E.F
Then to save the data a single inline for all forms.
inline(-database==8A., 'A' = web_request->param('A'),
'B' = web_request->param('B'),
'C' = web_request->param('C'),
'D' = web_request->param('D'),
'E' = web_request->param('E'),
'F' = web_request->param('F'),
-update)
The issues are:
If a field is present and empty, it should be emptied in the table
If a field is absent, it should not affect the table
I've got something working but I don't like the way it looks, seems clunky.
What do YOU do?
Thanks
Steffan
---------------------------------------------------------------
T E L 6 0 2 . 7 9 3 . 0 0 1 4 | F A X 6 0 2 . 9 7 1 . 1 6 9 4
Steffan A. Cline Steffan@ExecuChoice.net
http://www.ExecuChoice.net Phoenix, Arizona USA
---------------------------------------------------------------
#############################################################
Attend the Lasso Developer Conference 2014!
October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
http://www.lassosoft.com/LDC-newmarket-2014
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Aug 06, 2014; 23:04
Steve Piercy - Website Builder
Re: Best Practices - Partial Forms - Lasso 9
Aug 07, 2014; 19:08
Ke Carlton
Re: Best Practices - Partial Forms - Lasso 9