Hello,

I am trying to open a from when clicking particular content in email body.But its nto working.

This is my code .Please have a look at it and let me know where i am wrong and how to rectify the same.

Code:
<zimlet name="com_zimlet1" version="1.0" description="zimlet1">
	<contentObject>
		<matchOn>
			<regex attrs="ig">Desired Target</regex>
		</matchOn>	
		<toolTip>Click to open form</toolTip>
		<onClick>
			<canvas type="window" width="300" height="600"/>
			
			<formEditor name="dataEntryForm">
				<field type="string" name="firstName" label="First Name" minLength="0" maxLength="50" visualType="inputField" />
				<field type="string" name="lastName" label="Last Name" minLength="0" maxLength="50" visualType="inputField" />
				<field type="date" name="dob" label="Date Of Birth"/>
				<field type="enum" name="fruit" label="Select Fruit" >
					<item value="Apple" visualType="select"/>
					<item value="Grapes" visualType="select"/>
					<item value="Orange" visualType="select"/>
					<item value="Banana" visualType="select"/>
				</field>
			</formEditor>
		</onClick>
	</contentObject>
</zimlet>
Thanks.