I am envisaging various uses of revlets within web pages as part of online education programmes. And the "rev" part of the programming is no problem (users can move stuff about, enter text, make selections, save results & data to files etc etc...) But if this is to become useful, I need to know the id of the student who has submitted the work. This information is recorded within a form on the web page in which the revlet is embedded.
My question... is there anyway of extracting the content of the field/form for use by the revlet?
I have made this work within on-rev using the POST command:
put $_POST["fstudent"] into theStudent
where "fstudent" is the field automatically populated with the student's id and theStudent is the variable available for processing by rev. Ok.
But is something similar available to revlets?
Any assistance gratefully received!
Tim
ps for those interested, this is intended to add significant functionality to the WebCT/Blackboard VLEs without resorting to writing powerlinks and/or Flash.
Data from web form
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
The only thing I can think of, is building the dynamic page containing the revlet, in such a way to add the content of the $_POST parameters to the parameters of your revlet, and then reading those in the revlet's preOpenStack handler.
Jan Schenkel.
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com