Technote Details :: Using KTML and CFForms

Issue

I have a ColdFusion application that uses the CFForm tag instead of the regular FORM tag. The CFForm contains only CFinput elements, some of which I want to replace with the KTML control. However, when trying to apply it from Dreamweaver, the CFForm inputs are not recognized.

Reason

This happens because Dreamweaver does not recognise CFForms internally as regular Forms and thus does not make them available for replacement. Also, when a CFForm is submitted, the onSubmit event is automatically removed, which is needed in order for KTML to work.

Solution

KTML does not support replacing CFForm elements. If you want to use KTML to replace a form element, make sure you are using a regular form and input elements.


Home > Support > Knowledge Base > Technote Details
Search the Knowledge Base
© Adobe Systems Romania. All rights reserved.