I'm trying to use startProcessWIthInit on a custom query and I'm running into some problems, here is my Custom Query HTML
Code: Select all
<input id="value{ID}"></input>
<input id="ID{ID}" type="hidden" value="{ID}"></input>
<br/>
<div class="submitButton" onclick="AwareApp.startProcessWithInit('AddToCart','main','Cart','ProductID='+ID{ID}.value+'@@Quantity='+value{ID}.value+'')">SUBMIT</div>
</div>
This succesfully creates new records, but it creates 2 exactly same records at once and only the first Attribute and its Value gets populated, not the second one.
This is the test log, for some reason, the second attribute and value is not being put into context,
This is what's rendered in the browser
I've tried using @, @@, ;, & as delimiters but nothing works, any help would be appreciated, thanks in advance.