0

Does anyone know if there its possible to use a cfform within a cflayout, using type="tab"? I'd like to use the ajax calendar for a date input within the cflayoutarea but it doesn't seem to work.

Thanks
Avi Reiter
<FAKE SIGNATURE>

Edited by peter_budo: Keep It On The Site - Do not manually post &quot;fake&quot; signatures in your posts.

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by ws1267
0

Here is code for layout tabs, not sure it helps, could you put the cfform and datefield input in page1 and page2 and page3.cfm pages?

<cfajaximport tags="cfform,cflayout-border,cflayout-tab">
<cflayout 	type="border"	name="myLayout">
	<cflayoutarea name="myregion"
		position="center" overflow="hidden">
			<cflayout name="myTabs" type="tab" style="background-color:cornsilk;height:100%">
			
						<cflayoutarea
							title="page1"
							source="page1.cfm"
							overflow="visible" />
						<cflayoutarea
							title="page2"
							source="page2.cfm"
							overflow="visible" />
						<cflayoutarea
							title="page3"
							source="page3.cfm"
							overflow="visible" />
		</cflayout>
	</cflayoutarea>
</cflayout>

Or :

<cflayout 	type="border"	name="myLayout">
	<cflayoutarea name="myregion"
		position="center" overflow="hidden">
<cflayout name="myTabs" type="tab" style="background-color:cornsilk;height:100%">
			
						<cflayoutarea
							title="page1"					
							overflow="visible" >
								<cfform>
							<cfinput type="datefield" name="Mydate">
								</cfform>
						</cflayoutarea>

						<cflayoutarea
							title="Dataset"					
							overflow="visible"  >
							<cfform>
							<cfinput type="datefield" name="Mydate">
								</cfform>
						</cflayoutarea>
						<cflayoutarea
							title="page3"
											overflow="visible"  >
							<cfform>
							<cfinput type="datefield" name="Mydate">
								</cfform>
					     </cflayoutarea>
				
		</cflayout>
	</cflayoutarea>
</cflayout>

Edited by peter_budo: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.