Hi,
I'm trying to use login.register with extended field on user profile.
Seams to works ok (except no validation email is sent)
but, first, I'm , puzzled whent I try to organize those ext.fields into contaniers
(building our online shop with Simple cart and need to add a lot of new data into each user profile when they'll self register)
My goal would be to get a series of data under ORDERS
(fname,lname,addr1 and 2, zip, country, etc..)
and pretty the same under a DELIVERY container
But how to use register to deal with containers' creation ?
I saw somewhere a sample with input named like this :
name="CONTAINER[fieldname]"
I' tried a few variations of this example but not sure at all it's ok, and this way may frontend inputs are showing the trailing "]" meaning ther's aomething wrong..
<label class=" control-label sr-only" for="ORDERS[order_lastname]">[[%register.lastname]]
<span class="error">[[!+reg.error.ORDERS[order_lastname]]]
</span>
</label>
<div class=" input-group">
<span class="input-group-addon">
<i class="oi oi-people"></i>
</span>
<input class="form-control" type="text" name="ORDERS[order_lastname]:required" id="order_lastname" value="[[!+reg.ORDERS[order_lastname]]]" placeholder="Last name"/>
</div>
Thank you