Adds a label element into form widgets

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Adds a label element into form widgets

Jacques Le Roux
Administrator
Hi,

In Screen widgets we have a specialised label element with a specific behaviour when using h1 to h6 styles.

The same would be useful in forms to clearly separate blocks. Currently there is only the container type of field but it has no style attribute.

Maybe only enhancing this container could be considered. But I would rather prefer to have a real container element (at the field level) which would
allow to visually include a set of fields. It would have also a title and a style. And independently we would also have a label element with title and
style that could be put anywhere.

This could be then used with the skip-start and skip-end form attributes to easily build complex forms

What do you think?

Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Adds a label element into form widgets

Pierre Smits
It seems to fit in widget refactoring and also in the HTML 5 enhancement
issue (see https://issues.apache.org/jira/browse/OFBIZ-4299).

Pierre Smits

*ORRTIZ.COM <http://www.orrtiz.com>*
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com

On Sat, Mar 14, 2015 at 10:36 AM, Jacques Le Roux <
[hidden email]> wrote:

> Hi,
>
> In Screen widgets we have a specialised label element with a specific
> behaviour when using h1 to h6 styles.
>
> The same would be useful in forms to clearly separate blocks. Currently
> there is only the container type of field but it has no style attribute.
>
> Maybe only enhancing this container could be considered. But I would
> rather prefer to have a real container element (at the field level) which
> would allow to visually include a set of fields. It would have also a title
> and a style. And independently we would also have a label element with
> title and style that could be put anywhere.
>
> This could be then used with the skip-start and skip-end form attributes
> to easily build complex forms
>
> What do you think?
>
> Jacques
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Adds a label element into form widgets

Jacques Le Roux
Administrator
Actually it would be rather a 1st step within current implementation.
Also I just had a look at http://www.w3schools.com/TAGS/tryit.asp?filename=tryhtml5_menuitem (link from https://issues.apache.org/jira/browse/OFBIZ-4303)
And I'm not convinced so far: it does not work neither in FF nor Chrome (the OOTB context menus appear)

Jacques

Le 14/03/2015 10:50, Pierre Smits a écrit :

> It seems to fit in widget refactoring and also in the HTML 5 enhancement
> issue (see https://issues.apache.org/jira/browse/OFBIZ-4299).
>
> Pierre Smits
>
> *ORRTIZ.COM <http://www.orrtiz.com>*
> Services & Solutions for Cloud-
> Based Manufacturing, Professional
> Services and Retail & Trade
> http://www.orrtiz.com
>
> On Sat, Mar 14, 2015 at 10:36 AM, Jacques Le Roux <
> [hidden email]> wrote:
>
>> Hi,
>>
>> In Screen widgets we have a specialised label element with a specific
>> behaviour when using h1 to h6 styles.
>>
>> The same would be useful in forms to clearly separate blocks. Currently
>> there is only the container type of field but it has no style attribute.
>>
>> Maybe only enhancing this container could be considered. But I would
>> rather prefer to have a real container element (at the field level) which
>> would allow to visually include a set of fields. It would have also a title
>> and a style. And independently we would also have a label element with
>> title and style that could be put anywhere.
>>
>> This could be then used with the skip-start and skip-end form attributes
>> to easily build complex forms
>>
>> What do you think?
>>
>> Jacques
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Adds a label element into form widgets

Jacques Le Roux
Administrator
I created https://issues.apache.org/jira/browse/OFBIZ-6154

I expect to work on it next week, maybe later...

Jacques

Le 14/03/2015 11:25, Jacques Le Roux a écrit :

> Actually it would be rather a 1st step within current implementation.
> Also I just had a look at http://www.w3schools.com/TAGS/tryit.asp?filename=tryhtml5_menuitem (link from
> https://issues.apache.org/jira/browse/OFBIZ-4303)
> And I'm not convinced so far: it does not work neither in FF nor Chrome (the OOTB context menus appear)
>
> Jacques
>
> Le 14/03/2015 10:50, Pierre Smits a écrit :
>> It seems to fit in widget refactoring and also in the HTML 5 enhancement
>> issue (see https://issues.apache.org/jira/browse/OFBIZ-4299).
>>
>> Pierre Smits
>>
>> *ORRTIZ.COM <http://www.orrtiz.com>*
>> Services & Solutions for Cloud-
>> Based Manufacturing, Professional
>> Services and Retail & Trade
>> http://www.orrtiz.com
>>
>> On Sat, Mar 14, 2015 at 10:36 AM, Jacques Le Roux <
>> [hidden email]> wrote:
>>
>>> Hi,
>>>
>>> In Screen widgets we have a specialised label element with a specific
>>> behaviour when using h1 to h6 styles.
>>>
>>> The same would be useful in forms to clearly separate blocks. Currently
>>> there is only the container type of field but it has no style attribute.
>>>
>>> Maybe only enhancing this container could be considered. But I would
>>> rather prefer to have a real container element (at the field level) which
>>> would allow to visually include a set of fields. It would have also a title
>>> and a style. And independently we would also have a label element with
>>> title and style that could be put anywhere.
>>>
>>> This could be then used with the skip-start and skip-end form attributes
>>> to easily build complex forms
>>>
>>> What do you think?
>>>
>>> Jacques
>>>
>>>
>