Android Question html forms and how to read output

John Woodsmall

Active Member
Licensed User
Longtime User
I have some forms that work over the web, i want to put them into b4a
and then somehow get the values from them into a tiny sql database on the phone.

now i have a html form with a "<form>" tag and an action= that goes to an asp classic page
and does a: request("name") which give me the value of name. I need to do this on the phone
(Not over the internet). Is there a simple way to capture the values as i am doing with asp classic?

does the capture program need to be written in b4a or how do you do this?
i guess the "action" tag goes to program on the phone?
 

John Woodsmall

Active Member
Licensed User
Longtime User
thanks :

1.) i will have my html form in the local assets folder
2.) i will display it with webview
3.) the client will input a number of values (a standard on-line form).
Note: normally on-line the "action=" will tell the form to post its values to a asp classic program.
in that program(asp classic) i do a request("name") to get the name value into my program.
4.) what do i point the "action=" to in this case?
on b4a?
are there example of b4a receiving posted data from a html form?

the idea here is that phone run off-line and the form capture the data for later upload to
an on-line system
 
Upvote 0

John Woodsmall

Active Member
Licensed User
Longtime User
i have a number of html pages that i would like to put on to phone for customers to fill out
off-line.
when the pages are filled out they are submitted now(goes to my oracle database).
all this works fine.
but i would like to have the pages submitted to something on the phone and the request object
capture the name / value pares. then to put them into a csv file or a tiny sql database on the
phone for later capture on-line.

any examples of how to do this?

now i use asp classic and the name=request("name") .
 
Upvote 0
Top