Every entry form created on memberkit will automatically have an update form. You can include an update form with {UPDATEFORM} tag. It's basically the same as Entry form tag {FORM}. You need to specify form name as a second argument. {UPDATEFORM:profile} will include profile update form.
Some fields on your form can be hidden initially. If you want to
force your form to display these questions on specific pages you can
use special properties of {UPDATEFORM} tag.
For example: Password question is set to be hidden on update forms. It only appears on entry forms if you want it to be shown on the specific update forms just
write {UPDATEFORM:profile:SHOW:password} and it will be forced to display it self. You can give multiple field names such as: {UPDATEFORM:profile:SHOW:password,accountName}. Just like SHOW property there is also HIDE and HIDDEN properties.
HIDE: completely removes the given questions from update form. {UPDATEFORM:profile:HIDE:profilePicture} HIDDEN: Keeps the question in the form but doesn't display them to users. {UPDATEFORM:profile:HIDDEN:profilePicture} Remember:
SHOW, HIDE and HIDDEN properties doesn't actually affect the form
itself. They only change the included instance of the form. They
intended to show different questions to different user types or
different questions for different pages.
There is one more property called VERTICAL. This property allows you to display questions above the input fields, instead of displaying them on the left side.
You can use all properties at the same time in a different order such as: {UPDATEFORM:profile:SHOW:profilePicture,accountName:HIDE:username,password:HIDDEN:city,state:VERTICAL}
Tags:
template tags form builder forms
Related Articles:
Add a new comment
|
Send Comment