Overview
Excerpt |
---|
Form tools buttons have many options such as render type and validate. |
Here I am rendering one button as a normal form button and another as a link. Both these buttons have the same behavior even though one is a button and one is a link. If you have validation on your form but do not want to execute the validation there is an attribute for this - validate="false". You would want to do this on cancel buttons.
Excerpt |
Form tools button rendertype and validation Code Block |
---|
title | My Code with filename or something |
---|
|
<cfimport taglib="/farcry/core/tags/formtools" prefix="ft" />
<ft:button value="Clear" text="Start Over" validate="false" renderType="link"/> |
<ft:button value="Nope" text="#application.fapi.getConfig('farFAQ', 'faqNopeButtonText')#"/>
<cfsetting enablecfoutputonly="false" />
|