XForms: problem with fl_get_input

Scott (sbarron@n-link.com)
Sun, 12 Oct 1997 12:23:58 -0500 (CDT)

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

Greetings,

I am attempting to create an xforms application to allow me to enter
data into a mysql database. I have a FL_NORMAL_INPUT box for each field. What
I have going now is when data is entered the callback should store the field in
a structure which I will later pass to another function to send all the data to
the server. However I can't even seem to get the data I enter to print to the
screen or anything. Here is what i have for testing of input fields:

const char *model_num;
model_num = fl_get_input(model_box);
printf("%s", model_num);

Am I doing this incorrectly? Also when I try to do:

p_dat.model = fl_get_input(model_box);

Where p_dat is my structure and model is of type char I get an incompatible
types in assignment error.

I'm sure that I'm doing something not quite right, but I just can't figure out
what it is. I've read and reread Chapter 17 on the Input Objects, but its just
not sinking in. Does anyone have any tips or suggestions?

All comments are greatly appreciated.

Thanks,
Scott

I have going now is when data is entered the callback should store the field in
a structure which I will later pass to another function to send all the data to
the server. However I can't even seem to get
_________________________________________________
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/