New to Cache trying to run the tutorials getting a compile error
I'm new to Cache and trying to follow the Using Cache Studio PDF. In section 2.4.3(Adding a Zen form) it tells you insert the following code;
<button caption="Save" o select="zenPage.saveRecord();" />
Unfortunately that code fails compilation. If you try and use the tools there is no o select option nor a select or onselect option. I was wondering if anyone has used this PDF before and knows what the correct attribute should be?
I don't know the tutorial you're talking about, but it's got to be either onclick or onsubmit. onsubmit if you are submitting form data, onclick otherwise.
For reference, this section of the tutorial can be accessed here:
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GSTD_Start#GSTD_zen_form
As Kyle mentioned your code should be:
It appears the section Lisa linked to is not correctly displaying onselect multiple times.