...
For example, if a Text Box widget is bound to a field named CUSTOMERCustomer, $_POST['CUSTOMERCustomer'] in your PHP controller can be used to retrieve the customer entered by the user.
...
The only required array element is ‘view’, which provides a path to the Rich Display File to use for displaying a screen. For example, if you created a simple screen in the Visual Designer, to output this screen, you only need the following line of code in your PHP script.
Code Block | ||||
---|---|---|---|---|
| ||||
<?
echo json_encode(array('view' => '/dspf/myscreen.json'));
?>
|
...