<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>12800</bug_id>
          
          <creation_ts>2011-05-27 17:59:25 +0000</creation_ts>
          <short_desc>Enhancement request for input element</short_desc>
          <delta_ts>2011-08-04 05:33:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Thamizharasu">zarub2k</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>jackalmage</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>zarub2k</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48875</commentid>
    <comment_count>0</comment_count>
    <who name="Thamizharasu">zarub2k</who>
    <bug_when>2011-05-27 17:59:25 +0000</bug_when>
    <thetext>In most of the cases we used to have some label and the input elements while doing the layout.

Currently there is no possibility to define the label control as part of the input control. Meaning, I need to define a label and a input control separately.

Instead I need to able to define the label value as part of the input control. And more over if i define the input field is &apos;required&apos;, then some * mark should be added before the label control.

From my perspective this is the common use case in most of the web application.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48876</commentid>
    <comment_count>1</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2011-05-27 18:05:21 +0000</bug_when>
    <thetext>What are the actual problems caused by the current situation?  That is, what about the current situation is bad, such that you &quot;need to be able to define the label value as part of the input control&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48878</commentid>
    <comment_count>2</comment_count>
    <who name="Thamizharasu">zarub2k</who>
    <bug_when>2011-05-27 18:12:13 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; What are the actual problems caused by the current situation?  That is, what
&gt; about the current situation is bad, such that you &quot;need to be able to define
&gt; the label value as part of the input control&quot;?

&lt;input id=&quot;name&quot; name=&quot;name&quot; autocomplete=off value=&quot;&quot; /&gt;
This is definition for an input control. Usually we will have some label control before this input control.

&lt;label for=&quot;name&quot;&gt;Name: *&lt;/label&gt;
&lt;input id=&quot;name&quot; name=&quot;name&quot; autocomplete=off value=&quot;&quot; /&gt;

In that case, I should be able to define the label value as part of the input control.

&lt;input id=&quot;name&quot; name=&quot;name&quot; autocomplete=off value=&quot;&quot; label=&quot;Name:&quot; /&gt;

Then based on the required attribute, My label control should be added with * mark. Otherwise it should render only the label value.

I hope this would clarify your doubts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48879</commentid>
    <comment_count>3</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2011-05-27 18:19:06 +0000</bug_when>
    <thetext>No, that just shows what you want to do.  What&apos;s much more important is *why* you want to do that - what problem are you having that can&apos;t be easily solved using existing HTML?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49955</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-06-21 05:19:14 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Did Not Understand Request
Change Description: no spec change
Rationale: see comment 3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53857</commentid>
    <comment_count>5</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:33:52 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>