I can't find any documentation of the hideerror feature, but looking at
html.py, I don't see how the above example would work:
INPUT( _type='radio', _name='age', _value='5', _id='age5', hideerror=True,value
=self.request.vars['age'])
The hideerror flag seems to work if you do this, though:
I can't find any documentation of the hideerror feature, but looking at
html.py, I don't see how the above example would work:
INPUT( _type='radio', _name='age', _value='5', _id='age5',
hideerror=True,value
=self.request.vars['age'])
That should work. Note, INPUT inherits from DIV, and
I've got the same issue (running 1.99.7). Has anyone solved this?
On Sunday, February 26, 2012 6:12:41 PM UTC+13, Detectedstealth wrote:
Hi Massimo,
Your suggestion doesn't seem to be working:
LI(
H5(self.T('What is your Age?')),
INPUT(
I think there is a bug and I think I just fixed it in trunk. Please check
it.
On Wednesday, 28 March 2012 20:38:08 UTC-5, Limedrop wrote:
I've got the same issue (running 1.99.7). Has anyone solved this?
On Sunday, February 26, 2012 6:12:41 PM UTC+13, Detectedstealth wrote:
Hi Massimo,
The solution I made was setting a default value for all my radio groups.
On Wed, Mar 28, 2012 at 7:01 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
I think there is a bug and I think I just fixed it in trunk. Please check
it.
On Wednesday, 28 March 2012 20:38:08 UTC-5, Limedrop
Yes, tested and it now works! Thanks Massimo.
On Thursday, March 29, 2012 3:01:41 PM UTC+13, Massimo Di Pierro wrote:
I think there is a bug and I think I just fixed it in trunk. Please check
it.
On Wednesday, 28 March 2012 20:38:08 UTC-5, Limedrop wrote:
I've got the same issue (running
Thanks. In my case default=None (and needs to be), so thankfully Massimo's
fix does the trick.
On Thursday, March 29, 2012 3:27:40 PM UTC+13, Detectedstealth wrote:
The solution I made was setting a default value for all my radio groups.
Hi Massimo,
Your suggestion doesn't seem to be working:
LI(
H5(self.T('What is your Age?')),
INPUT( _type='radio', _name='age', _value='1',
_id='age1', requires = IS_NOT_EMPTY(error_message=self.T('missing your
age')),
INPUT(,hideerror=True)
On Feb 12, 6:33 pm, Bruce Wade bruce.w...@gmail.com wrote:
Hi,
Is it possible to show a single error message for a group of radio buttons.
See screen shot
FORM(
FIELDSET(
H4(self.T('Personal Questions')),
UL(
9 matches
Mail list logo