Re: XForms: problem with fl_get_input solved :)

Scott (sbarron@n-link.com)
Mon, 13 Oct 1997 11:24:00 -0500 (CDT)

To subscribers of the xforms list from Scott <sbarron@n-link.com> :

On 13-Oct-97 Orn E. Hansen wrote:
->To subscribers of the xforms list from "Orn E. Hansen"
-><oe.hansen@oehansen.pp.se> :
->
->
->
-> I usually define a single callback for all input fields, that I
->leave empty...
->
->void dummy_cb(FL_OBJECT *ob, long data)
->{
->
->}
->
-> And then, I define two buttons to the form... an OK button, and a
->Cancel button. Pressing the OK button, will activate a callback that
->samples all data from input fields and put its into the structure, and
->the other one does the cancelation of course :-)
->
->-------------------------------------------------------------------------=

---
->Orn Einar Hansen                         oe.hansen@oehansen.pp.se
->                                          oehansen@daimi.aau.dk
->
                                      voice+fax; +46 035 217194

That sounds like it would work for me. I'll try it on the next one (as thi= s one is almost finished). Could you not define a callback at all or would i= t be best to at least define the dummy_cb?

Scott _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html Xforms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/