I don't want to use the loop {foreach from=$controls item=control} in the SelfRegistration module Registration Template 1 box.
I want to do something like this instead, input_id}" value="{$controls["last_name"]->post_value}" class="some_class">, can something like this be done?
I did a {$controls|print_r} but don't see how it is indexed. every documentation page I find seems to be empty.
also, the SelfRegistration admin page could use an 'apply' button above the Registration Template box.
Thanks,
another similar question, might as well add here too,
--------------------------
FormBuilder 'Field Name' or 'Field Label' (suggestion)
This is just a suggestion, sorry if it's already been mentioned,
On the 'Main' tab when editing a form, there is a column called 'Field Name' which is used for the label and also the code field name. I think this column should be split in two, 'Field Label', 'Field ID',
because what happens if you want a label like 'Last Name', which has a space character in it (or a field with a non alphanumeric like a '?'), but to use it in code you need to name it 'last_name' to do this {$last_name->input_id}
I guess this is only necessary if someone's not using the standard {foreach from=$fields item=entry} loop.
also how can I do something like this? input_id}" value="{$last_name->post_value}" size="{$last_name->size}">
and in the edit field page there is a "Maximum Length:" input box, could add a "Size:" box too.
and under 'Advanced Settings' the 'CSS Class for this field:' should have another css field for the output from {$last_name->input}
I had written this other question below then I realized I don't really need to use the label part anymore,

---------------------------
FormBuilder Custom Template
I don't want to use the {foreach from=$fields item=entry} loop to list the fields,
in the admin page "Form Fields" list there is a column called 'Field Name', which is really the 'Field Label', if I want a label of 'Last Name' what is the variable name for coding?
I see on the 'Submission Template' tab there is a table of "Variable Field and Represented"
'{$last_name} / {$fld_21} Last Name'
On the 'Form Template' tab it mentions "directly accessing fields by their names (e.g., {$myfield->input} )"
I tried {$last_name->input_id} and {$fld_21->input_id} like this, but didn't work:
Last Name: input_id}" type="text" class="the_class" id="the_id" size="30">
or how can I index the fields array by name?
{$fields|print_r} works
{$fields[0]|print_r} works
{$fields["last_name"]|print_r} doesn't work
---------------------------
CMS Made Simple 1.2.1
FormBuilder 0.4.4
SelfRegistration 1.1.2