ticket #3 - Added learning cartridge with all complete examples
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<form>
|
||||
<field formid="humanname" label="Human Name" type="string" mandatory="true" max-length="50"/>
|
||||
<field formid="cyborgname" label="Cyborg Name" type="string" mandatory="true" max-length="50"/>
|
||||
<field formid="email" label="label.input.email.profile" type="string" mandatory="true"
|
||||
regexp="^[\w-\.]{1,}\@([\da-zA-Z-]{1,}\.){1,}[\da-zA-Z-]{2,6}$"
|
||||
parse-error="error.message.parse.email.profile.form"
|
||||
value-error="error.message.parse.email.profile.form"
|
||||
max-length="50"/>
|
||||
<field formid="mostlyhuman" label="Mostly Human" type="boolean" />
|
||||
<action formid="subscribe" valid-form="true"/>
|
||||
</form>
|
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<form>
|
||||
<field formid="notificationSales" label="label.notification.sales" type="boolean" />
|
||||
<field formid="notificationNew" label="label.notification.new" type="boolean" />
|
||||
<field formid="notificationStock" label="label.notification.stock" type="boolean" />
|
||||
<action formid="apply" label="button.notification.submit" valid-form="true"/>
|
||||
</form>
|
Reference in New Issue
Block a user