Home/Support/Support Forum/I need sample web control syntax/explained so it can be modified.
New and improved user forum site coming soon
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

I need sample web control syntax/explained so it can be modified.

0 votes
<form action="/leddemo.zhtml" method="post">
<input type="hidden" name="<?z varname ($output[$A]) ?>"
<?z if ($output[$A] == 0) { ?>value="1"<?z } ?>
<?z if ($output[$A] != 0) { ?>value="0"<?z } ?>
<input type="image" src="button.gif" />
asked May 16, 2013 in Feedback/Wish List by Ted Schmidt New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes

I think you might want to look at the following document:


The <?Z ?> business appears to be Rabbit Dynamic C specific html controls. SO you will not find these in a general html text.

$output, form what I can see gives the current value of variable output. $A give sthe current value of variable A.

I believe the document listed above explains alot of this Dynamic C HTML business.
answered May 16, 2013 by dakotas_dad Veteran of the Digi Community (694 points)
The document provided is a good resource. I still need clearity on what certain characters do in the code. Being new to this Web programming, it is *****. In the example, the input is a string of variables ($A). I have one that I want to change ($output[0]) when some one clicks on the correct image (button). I have tried
<?z ($output[0]) { ?>value="1"<?z } ?>
I placed this is a "onclick" function, but can not seem to get the syntax correct. Appreciate the help and hopefully you can advise me with the solution. Ted
The following document appears to be more complete and might be of help to you.


See chapters 2,3,4 & 5