Not sure where to start here. I am working on a site that has very specific needs. I ended up needing to cram a bunch of fields in a matrix fieldtype to accomplish the main set. Now there has been an added requirement that would be much easier with USER/SAEF forms. I thought I had a good grip on this, but adding in these fields as needed while keeping the styling has proven to be quite difficult. This could be due to my lack of experience with SAEF forms too though.
My fieldtype is as follows: (I know it’s janky to read on here
Matrix Configuration
Address Address 2 City State Zip Code Public
(text) (text) (text) (P&T DD) (text) (P&T DD)
So in my SAEF form, I have tried almost everything I can think of and haven’t succeeded yet. I am also having trouble finding any help online.
Now in the form I have the following right now:
{address} == the matrix field
{state} == P&T Dropdown
Even when removing the state segment though, the form seems to break with the opening and closing {address} tags.
{address}
<div class="form_element">
<input type="text" name="address_1" id="address_1" value="{address_1}" />
<label for="address_1">Address</label>
</div>
<div class="clear"></div>
<div class="form_element">
<input type="text" name="city" id="city" value="{city}" />
<label for="city">City</label>
<select name="state">
{options:state}
<option value="{option_value}">{option_value}</option>
{/options:state}
</select>
<label for="state">State</label>
<input type="text" name="zip" id="zip" value="{zip}" />
<label for="zip">Zip</label>
</div>
<div class="clear"></div>
{/address}Thanks everyone…
Brian