Thread: [Xsltforms-support] xforms-required-icon after label
Brought to you by:
alain-couthures
From: Alex B. <ale...@gm...> - 2012-10-10 11:16:25
|
Does it possible to put <span class="xforms-required-icon">*</span> after <label class="xforms-label"> (if label exist for this input), but not after <span class="value"> ? |
From: Alain C. <ala...@ag...> - 2012-10-12 13:32:26
|
Hi Alex and all, This can probably be managed by a config option. Would it be an interesting way to proceed? Thank you for your point of views! -Alain Le 10/10/2012 13:15, Alex Bozhenko a écrit : > Does it possible to put > <span class="xforms-required-icon">*</span> > after > <label class="xforms-label"> > (if label exist for this input), but not after > <span class="value"> > ? |
From: Alex B. <ale...@gm...> - 2012-11-20 11:27:15
|
Dear Alain, Thank you for improving xforms. The option which you have added into xfoms works fine! With best regards, Alexander 2012/11/11 Alain Couthures <ala...@ag...> > Hi Alex, > > I have now added a new option for that: > > <?xsltforms-options required-position="left"?> > > It will be effective for all required controls with a label in the current > form. > > As for other options, this one can be added in a config.xsl file. > > Thank you for your feedbacks! > > -Alain > > Le 12/10/2012 15:32, Alain Couthures a écrit : > >> Hi Alex and all, >> >> This can probably be managed by a config option. Would it be an >> interesting way to proceed? >> >> Thank you for your point of views! >> >> -Alain >> >> Le 10/10/2012 13:15, Alex Bozhenko a écrit : >> >>> Does it possible to put >>> <span class="xforms-required-icon">***</span> >>> after >>> <label class="xforms-label"> >>> (if label exist for this input), but not after >>> <span class="value"> >>> ? >>> >> >> ------------------------------**------------------------------** >> ------------------ >> Don't let slow site performance ruin your business. Deploy New Relic APM >> Deploy New Relic app performance management and know exactly >> what is happening inside your Ruby, Python, PHP, Java, and .NET app >> Try New Relic at no cost today and get our sweet Data Nerd shirt too! >> http://p.sf.net/sfu/newrelic-**dev2dev<http://p.sf.net/sfu/newrelic-dev2dev> >> ______________________________**_________________ >> Xsltforms-support mailing list >> Xsltforms-support@lists.**sourceforge.net<Xsl...@li...> >> https://lists.sourceforge.net/**lists/listinfo/xsltforms-**support<https://lists.sourceforge.net/lists/listinfo/xsltforms-support> >> >> > |
From: Javier D. <jd...@tc...> - 2015-03-11 12:23:08
Attachments:
jdiaz.vcf
|
Hello, I have been testing required-position="left" option, and I have detected an error. Using 'upload' control in a form with this option, a javascript error appears. To solve it, it is necesary to add this line it is in input control to upload control: <xsl:when test="xforms:label/node() and $required-position = 'left'">3</xsl:when> I suppose it is also necessary in 'range' and 'component' control, as it as a similar logic. Best Regards, Javier El 20/11/12 a las 12:26, Alex Bozhenko escribió: > Dear Alain, Thank you for improving xforms. > The option which you have added into xfoms works fine! > With best regards, Alexander > > > 2012/11/11 Alain Couthures <ala...@ag... > <mailto:ala...@ag...>> > > Hi Alex, > > I have now added a new option for that: > > <?xsltforms-options required-position="left"?> > > It will be effective for all required controls with a label in the > current form. > > As for other options, this one can be added in a config.xsl file. > > Thank you for your feedbacks! > > -Alain > > Le 12/10/2012 15:32, Alain Couthures a écrit : > > Hi Alex and all, > > This can probably be managed by a config option. Would it be an > interesting way to proceed? > > Thank you for your point of views! > > -Alain > > Le 10/10/2012 13:15, Alex Bozhenko a écrit : > > Does it possible to put > <span class="xforms-required-icon">*</span> > after > <label class="xforms-label"> > (if label exist for this input), but not after > <span class="value"> > ? > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New > Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and > .NET app > Try New Relic at no cost today and get our sweet Data Nerd > shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > <mailto:Xsl...@li...> > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support |
From: Alain C. <ala...@ag...> - 2015-03-25 21:08:26
|
Hello Javier, Thank you for this fix! It has now been committed in latest revision. --Alain Le 11/03/2015 13:22, Javier Díaz a écrit : > Hello, > > I have been testing required-position="left" option, and I have > detected an error. > > Using 'upload' control in a form with this option, a javascript error > appears. > > To solve it, it is necesary to add this line it is in input control to > upload control: > > <xsl:when test="xforms:label/node() and $required-position = > 'left'">3</xsl:when> > > I suppose it is also necessary in 'range' and 'component' control, as > it as a similar logic. > > Best Regards, > Javier > > El 20/11/12 a las 12:26, Alex Bozhenko escribió: >> Dear Alain, Thank you for improving xforms. >> The option which you have added into xfoms works fine! >> With best regards, Alexander >> >> >> 2012/11/11 Alain Couthures <ala...@ag... >> <mailto:ala...@ag...>> >> >> Hi Alex, >> >> I have now added a new option for that: >> >> <?xsltforms-options required-position="left"?> >> >> It will be effective for all required controls with a label in >> the current form. >> >> As for other options, this one can be added in a config.xsl file. >> >> Thank you for your feedbacks! >> >> -Alain >> >> Le 12/10/2012 15:32, Alain Couthures a écrit : >> >> Hi Alex and all, >> >> This can probably be managed by a config option. Would it be an >> interesting way to proceed? >> >> Thank you for your point of views! >> >> -Alain >> >> Le 10/10/2012 13:15, Alex Bozhenko a écrit : >> >> Does it possible to put >> <span class="xforms-required-icon">*</span> >> after >> <label class="xforms-label"> >> (if label exist for this input), but not after >> <span class="value"> >> ? >> >> >> ------------------------------------------------------------------------------ >> Don't let slow site performance ruin your business. Deploy >> New Relic APM >> Deploy New Relic app performance management and know exactly >> what is happening inside your Ruby, Python, PHP, Java, and >> .NET app >> Try New Relic at no cost today and get our sweet Data Nerd >> shirt too! >> http://p.sf.net/sfu/newrelic-dev2dev >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> <mailto:Xsl...@li...> >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> >> >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |
From: Alain C. <ala...@ag...> - 2012-11-11 06:38:27
|
Hi Alex, I have now added a new option for that: <?xsltforms-options required-position="left"?> It will be effective for all required controls with a label in the current form. As for other options, this one can be added in a config.xsl file. Thank you for your feedbacks! -Alain Le 12/10/2012 15:32, Alain Couthures a écrit : > Hi Alex and all, > > This can probably be managed by a config option. Would it be an > interesting way to proceed? > > Thank you for your point of views! > > -Alain > > Le 10/10/2012 13:15, Alex Bozhenko a écrit : >> Does it possible to put >> <span class="xforms-required-icon">*</span> >> after >> <label class="xforms-label"> >> (if label exist for this input), but not after >> <span class="value"> >> ? > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |