Difference between revisions of "Working with Forms"

From HSYCO
Jump to navigation Jump to search
(Created page with "Category:INCOMPLETE == Keypad == Pressing the OK button or pressing the Enter key on the physical keyboard is equivalent to pressing the submit button of a form; HSYC...")
 
Line 1: Line 1:
 
[[Category:INCOMPLETE]]
 
[[Category:INCOMPLETE]]
 
== Keypad ==
 
== Keypad ==
Pressing the OK button or pressing the Enter key on the physical keyboard is equivalent to pressing the [[submit]] button of a form; HSYCO will call the method:
+
Pressing the OK button or pressing the Enter key on the physical keyboard is equivalent to pressing the [[submit]] button of a form; HSYCO will call the method:
 
userCommand(String name, String param) in the user.class class, passing:
 
userCommand(String name, String param) in the user.class class, passing:
 
name - the id of the (keypad) object
 
name - the id of the (keypad) object
 
param - the numeric value entered via the keypad.
 
param - the numeric value entered via the keypad.
 
The USER <id> event will be generated as well. If the (keypad!id) object's id starts with $, then the server will also automatically set a variable named $<id> to the appropriate value. The (keypad) object can also be used in forms, just like an (input) object. The (keypad) object has the identified version only.
 
The USER <id> event will be generated as well. If the (keypad!id) object's id starts with $, then the server will also automatically set a variable named $<id> to the appropriate value. The (keypad) object can also be used in forms, just like an (input) object. The (keypad) object has the identified version only.

Revision as of 17:37, 23 January 2014

Keypad

Pressing the OK button or pressing the Enter key on the physical keyboard is equivalent to pressing the submit button of a form; HSYCO will call the method: userCommand(String name, String param) in the user.class class, passing: name - the id of the (keypad) object param - the numeric value entered via the keypad. The USER <id> event will be generated as well. If the (keypad!id) object's id starts with $, then the server will also automatically set a variable named $<id> to the appropriate value. The (keypad) object can also be used in forms, just like an (input) object. The (keypad) object has the identified version only.