【发布时间】:2016-12-07 13:11:42
【问题描述】:
所以,我正在创建这个表单。顶部有 3 个主要字段。忽略其他人。组织名称、部门和地址。用户必须在“部门”和“地址”的“组织”字段中输入一些数据才能使用。
Here is the form 这是我做的一个模型。如果用户没有在组织名称中输入任何信息,这就是它的样子。
<div class="control-group required">
<label class="control-label">Organisation Name <em>*</em></label>
<div class="controls">
<div class="input-append input-prepend">
<input type="text" class="input-xxlarge" id="Organisation-Name">
<button type="button" class="btn" href=""> Find</button>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label">Department</label>
<div class="controls">
<div class="input-append input-prepend">
<input type="text" class="input-xxlarge" id="Department">
<button type="button" class="btn" href=""> Find</button>
</div>
<span class="help-inline"><i class="help" title="Enter the Department of this Opportunity.">Help</i></span>
</div>
</div>
<div class="control-group">
<label class="control-label">Address</label>
<div class="controls">
<div class="input-append input-prepend">
<input type="text" class="input-xxlarge" id="Address">
<button type="button" class="btn" href=""> Find</button>
</div>
<span class="help-inline"><i class="help" title="Enter the Address for this Opportunity.">Help</i></span>
</div>
</div>
使用以下建议,我设法使它看起来像这样。当我在组织字段中添加数据时,底部 2 个字段需要恢复正常
【问题讨论】:
-
请在此处添加您的标记,以便我们提供帮助。呈现的 HTML 图像对未来的读者或潜在的回答者没有用处。