any tips about xml-forms (skins etc) - tutorials/doku? -- Sebastian Mork [EMAIL PROTECTED] --
On Wed, 11 Jan 2006 16:09:12 +0100 Sebastian Mork <[EMAIL PROTECTED]> wrote: > Hi, > > In my last app I used flash-forms, now I'm developing a new application > and I arrived at that point I need to create the first forms. > Well, now I want to use xml-Forms and made the first test modifying the > system-styles (e.g. blue_style.css, blue.xsl) > I've read the article from Mike Nimer > (http://www.macromedia.com/de/devnet/coldfusion/articles/richforms_05.html) > about that topic... > So, using xforms might be a reason, as he wrote, to learn about xsl.. > > I googled to find some kind of tutorial using cfforms xml-forms but > didn't find any good sources. Does anyone know some? > > Another question.. in my first tests I created a simple form (code below) > and used a cfformgroup-tag with type=vertical, to align some > input-fields vertically. > Now, why does the first table-cell with the laber for the input 'emailsender' > gets the class 'cfLabelPosRight'? (confused) > > thx > sebastian > > code: > ---------------------------------------------------------------- > <cfform format="xml" > action="" > id="formtaf" > skin="blue" > > <cfformgroup type="fieldset" label="Artikel weiterempfehlen"> > <cfformgroup type="vertical"> > <cfinput type="text" name="emailsender" label="Absender" > validate="email" size="20" maxlength="100" required="true" message="Bitte > geben Sie eine gültige Absender-Email-Adresse ein." /> > <cfinput type="text" name="emailreceiver" label="Empfänger" > validate="email" size="20" maxlength="100" required="true" message="Bitte > geben Sie eine gültige Absender-Email-Adresse ein." /> > <cftextarea name="test" rows="5" cols="66" label="Mitteilung" /> > </cfformgroup> > </cfformgroup> > </cfform> > > > generated code (without script): > ---------------------------------------------------------------- > <link href="/CFIDE/scripts/css/blue_style.css" rel="stylesheet" > type="text/css" media="all"/> > <div class="cfform"> > <form id="formtaf" action="/memocity/index.cfm?event=prodtaf&pid=1771" > method="post" onsubmit="return _CF_checkCFForm_1(this);" class="cfHaloSkin" > name="CFForm_1"> > <table border="0" cellpadding="2" cellspacing="0" width="100%" > class="vertical"> > <tr> > <td colspan="2"> > <fieldset> > <legend>Artikel weiterempfehlen</legend> > <table border="0" cellpadding="2" cellspacing="0" width="100%" > class="vertical"> > <tr class="cfElementRow"> > <!--- ||||||||||||||||||||||||||||||||||||| HERE APPEARS THE CLASS: > cfLabelPosRight |||||||||||||||||||||||||||||||||||||||||||| ---> > <td valign="top" align="right" width="100" class="cfLabelTitle > cfLabelPosRight cfFirstChild" nowrap="nowrap"> > <label for="emailsender" class="cfRequiredLabel"> > <span class="cfRequiredLabelIndicator">* </span>Absender</label> > > </td> > <td width="1000" align="left"> > <input id="emailsender" name="emailsender" class="cfInput cfRequiredElement" > value="" type="text" maxlength="100" size="20"/> > </td> > </tr> > <tr class="cfElementRow"> > <td valign="top" align="right" width="100" class="cfLabelTitle > cfLabelPosRight cfFirstChild" nowrap="nowrap"> > <label for="emailreceiver" class="cfRequiredLabel"> > <span class="cfRequiredLabelIndicator">* </span>Empfänger</label> > </td> > <td width="1000" align="left"> > <input id="emailreceiver" name="emailreceiver" class="cfInput > cfRequiredElement" value="" type="text" maxlength="100" size="20"/> > </td> > </tr> > <tr class="cfElementRow"> > > <td colspan="2" valign="top" align="left" class="cfLabelTitle cfLabelPosTop" > nowrap="nowrap"> > <label for="test">Mitteilung</label> > </td> > </tr> > <tr> > <td colspan="2" width="100%" align="left"> > <textarea id="test" name="test" class="cfTextarea " rows="5" cols="66"> > </textarea> > </td> > </tr> > <tr> > <td> > <br/> > </td> > </tr> > </table> > > </fieldset> > </td> > </tr> > <tr> > <td> > <br/> > </td> > </tr> > </table> > </form> > </div> > -- > Sebastian Mork <[EMAIL PROTECTED]> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229327 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

