Good afternoon,
I am starting to develop my app with CUBA and Polymer UI. How do i link it to my application… if i enter data and click submit, how do i make it so that it saves to the database.
Here is my code:
<cuba-entities id="data"
entity-name="Users$Customer"
data="{{entities}}"
view="customer-view"
loading="{{dataLoading}}"
limit="10"
provide-count="true"
count="{{entitiesCount}}">
</cuba-entities>
<paper-card heading="[[msg('welcomeHeading')]]" class="page-widget">
<div class="card-content">
<form action="C:\Users\susan.helao\Desktop\action.html">
<label for="fname">First Name</label>
<input type="text" id="fname" name="firstname" placeholder="Your name..">
<label for="lname">Last Name</label>
<input type="text" id="lname" name="lastname" placeholder="Your last name..">
<label for="country">Country</label>
<select id="country" name="country">
<option value="south africa">South Africa</option>
<option value="namibia">Namibia</option>
<option value="zimbabwe">Zimbabwe</option>
</select>
<input type="submit" value="Submit"> </form> </div> </paper-card>
Thank you very much,
Greetings.