You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacopo Cappellato <ti...@sastau.it> on 2007/06/24 10:29:16 UTC

Proposal for widget form improvement: hidden forms

In form widgets, by default, the also-hidden attribute is true. For this 
reason, we have many list forms with an hidden form and hidden fields in 
it, even if no other submit/input fields are available.
Is it ok if I change the code to only create the form ig the target 
attribute is set?

Jacopo



Re: Proposal for widget form improvement: hidden forms

Posted by Anil K Patel <an...@hotwaxmedia.com>.
Hi,
Last time when I tried to work on adding autocompleter to a form field, 
One of things I missed a lot was, "Id" attribute. Is it possible to have 
"Id" attribute on Form Elements. I think we have it on Form element (not 
sure, it will be nice to have).

Regards
Anil Patel




Jacques Le Roux wrote:
> Sounds fine to me (quick answer, no code review)
>
> Jacques
>
> De : "Jacopo Cappellato" <ti...@sastau.it>
>   
>> In form widgets, by default, the also-hidden attribute is true. For this 
>> reason, we have many list forms with an hidden form and hidden fields in 
>> it, even if no other submit/input fields are available.
>> Is it ok if I change the code to only create the form ig the target 
>> attribute is set?
>>
>> Jacopo
>>
>>     


Re: Proposal for widget form improvement: hidden forms

Posted by Jacques Le Roux <ja...@les7arts.com>.
Sounds fine to me (quick answer, no code review)

Jacques

De : "Jacopo Cappellato" <ti...@sastau.it>
> In form widgets, by default, the also-hidden attribute is true. For this 
> reason, we have many list forms with an hidden form and hidden fields in 
> it, even if no other submit/input fields are available.
> Is it ok if I change the code to only create the form ig the target 
> attribute is set?
> 
> Jacopo
> 

Re: Proposal for widget form improvement: hidden forms

Posted by David E Jones <jo...@hotwaxmedia.com>.
Jacopo Cappellato wrote:
> In form widgets, by default, the also-hidden attribute is true. For this 
> reason, we have many list forms with an hidden form and hidden fields in 
> it, even if no other submit/input fields are available.
> Is it ok if I change the code to only create the form ig the target 
> attribute is set?

I see... you mean for list or other forms with all display* fields? Yeah, I think that's a good idea.

-David