JCash JCash
  • Just popping in
  • Just popping in
  • Joined: 2011/2/22 17:49
  • Group: Registered Users
  • Posts: 66
  • Posted on: 2011/10/17 8:01
register.php : caption marker displayed for all fields #1
All caption fields have a * but Website information is not required, just asked :

$reg_form->addElement(new XoopsFormText(_US_WEBSITE, 'url', 25, 255, $myts->htmlSpecialChars($url)));

If I add :

$reg_form->addElement(new XoopsFormText(_US_WEBSITE, 'url', 25, 255, $myts->htmlSpecialChars($url)), false);

... nothing happens
JCash JCash
  • Just popping in
  • Just popping in
  • Joined: 2011/2/22 17:49
  • Group: Registered Users
  • Posts: 66
  • Posted on: 2011/10/18 8:20
Re: register.php : caption marker displayed for all fields #2
... seems to be a simple conflict with my css instructions. If I'm not wrong there at least are both instructions to display / hide *

.xoops-form-element-caption .caption-marker {}
.xoops-form-element-caption-required .caption-marker {}

... but it not works in all cases.

Not clear for me, and you ?
trabis trabis
  • Core Developer
  • Core Developer
  • Joined: 2006/9/1 14:10
  • From Portugal
  • Group: Webmaster Registered Users
  • Posts: 2253
  • Posted on: 2011/10/18 8:31
Re: register.php : caption marker displayed for all fields #3
What theme are you using?
JCash JCash
  • Just popping in
  • Just popping in
  • Joined: 2011/2/22 17:49
  • Group: Registered Users
  • Posts: 66
  • Posted on: 2011/10/19 19:41
Re: register.php : caption marker displayed for all fields #4
I like simplicity, so I use "blanktheme" found here : http://sourceforge.net/projects/xoofo ... hemes/interface_publique/
trabis trabis
  • Core Developer
  • Core Developer
  • Joined: 2006/9/1 14:10
  • From Portugal
  • Group: Webmaster Registered Users
  • Posts: 2253
  • Posted on: 2011/10/19 19:57
Re: register.php : caption marker displayed for all fields #5
I can't reproduce it, what XOOPS version are you using?
JCash JCash
  • Just popping in
  • Just popping in
  • Joined: 2011/2/22 17:49
  • Group: Registered Users
  • Posts: 66
  • Posted on: 2011/10/19 20:20
Re: register.php : caption marker displayed for all fields #6
The same for me, I can't reproduce it : I have installed a new Xoops 2.5.3 with blanktheme and all * are displayed for required fields :
- on register page
- on contact form (xforms 1.2)

I'm sorry to waste your (precious) time
How to effectively post a question in the Xoops forums? - Read here...
Design by: XOOPS UI/UX Team