Re: [html-formfu] Increment id on block elements

2009-12-07 Thread Stephen Shorrock
On Mon, Dec 7, 2009 at 7:24 PM, Carl Franks wrote: > 2009/12/7 Stephen Shorrock : >> >> I created a new Block element class with the prepare_id method.  I >> thought it would be tidier to access my data via a filter rather than >> an action but unfortunately I seem unable to access it in either >>

Re: [html-formfu] Increment id on block elements

2009-12-07 Thread Carl Franks
2009/12/7 Stephen Shorrock : > > I created a new Block element class with the prepare_id method.  I > thought it would be tidier to access my data via a filter rather than > an action but unfortunately I seem unable to access it in either > plugins or filters: > > in my plugin/filter > > $var = "rt

Re: [html-formfu] Increment id on block elements

2009-12-07 Thread Stephen Shorrock
> Thanks - I'm glad it's useful! It certainly is we are using it more and more > I've added $block->auto_block_id() in svn commit r1633, so you can > either get it from svn or wait until the next cpan release > - sometime between now and Christmas (2009) ;)> I created a new Block element class w

Re: [html-formfu] Increment id on block elements

2009-12-07 Thread Carl Franks
2009/12/7 Stephen Shorrock : > > No I just need to thank you for writing a great module! Thanks - I'm glad it's useful! I've added $block->auto_block_id() in svn commit r1633, so you can either get it from svn or wait until the next cpan release - sometime between now and Christmas (2009) ;) Car

Re: [html-formfu] Increment id on block elements

2009-12-07 Thread Stephen Shorrock
Hi Carl, Wow - That's great > BTW, you can give a 'name' to any Block to allow you to grab it easily > within your perl code - it won't be output in the rendered xhtml. Thanks for clarifying I wasn't too sure. > > Is there anything I've missed from your original request? > No I just need to th

Re: [html-formfu] Increment id on block elements

2009-12-07 Thread Carl Franks
2009/12/7 Stephen Shorrock : > On Mon, Dec 7, 2009 at 11:50 AM, Carl Franks wrote: >> 2009/12/7 Stephen Shorrock : >>> Dear list, >>> >>> FormFu has been excellent at handling and displaying my forms, I've >>> found a single call to render the form fantastic. However I've come up >>> against some

Re: [html-formfu] Increment id on block elements

2009-12-07 Thread Stephen Shorrock
On Mon, Dec 7, 2009 at 11:50 AM, Carl Franks wrote: > 2009/12/7 Stephen Shorrock : >> Dear list, >> >> FormFu has been excellent at handling and displaying my forms, I've >> found a single call to render the form fantastic. However I've come up >> against some limitations which may not allow me to

Re: [html-formfu] Increment id on block elements

2009-12-07 Thread Carl Franks
2009/12/7 Stephen Shorrock : > Dear list, > > FormFu has been excellent at handling and displaying my forms, I've > found a single call to render the form fantastic. However I've come up > against some limitations which may not allow me to render a form as > simple as this. > > I have a repeatable

[html-formfu] Increment id on block elements

2009-12-07 Thread Stephen Shorrock
Dear list, FormFu has been excellent at handling and displaying my forms, I've found a single call to render the form fantastic. However I've come up against some limitations which may not allow me to render a form as simple as this. I have a repeatable within which I have a number of block eleme