We can explicitly set the text input's value to the page's title as follows -But if I set it as "text", the user details won't show up in input field like "bound" did.
- Code: Select all
<cms:pages masterpage=k_member_template id=k_member_id skip_custom_fields='1' limit='1'>
<cms:input type="text" name="my_title" label='DisplayName' style="width:200px;" required='1' value="<cms:show k_page_title />" /><br />
The result would be exactly the same as using a bound field.
But then why are you using the password and repeat password fields as normal text in the first place? Use them in the prescribed 'bound' manner and they'll function as expected.And the worse part is the password and repeat password, the will also submit even if they don't match.
I did not mean to say that you should ditch all bound inputs and switch to text inputs. Do this only for very specific constraint that is not supported by the bound field.
I can't see what additional constraint you'd want to place on 'password' and 'repeat password'. They are already 'required' if the user chooses to enter any values into them (which means that the user is trying to edit his existing password).