0
我在页面中有表单,意味着要管理在另一个页面上发布的工作。该表格有几个关键字段,用于确定工作发布是被批准还是被拒绝。我希望表单最初只显示那些被指定为关键或选择过程的关键字段。并且还有一个切换按钮来显示完整的表格,以防审阅者想要更多关于特定作业的信息。在特定输入字段和完整表格之间显示之间切换窗体
我如何指定我想要做出关键的字段?
如何在这些字段和完整表单之间切换?
形式我到目前为止是这样的(关键的投入是行业,经验和技能要求):
<div class="row">
<div class="col-md-8 col-md-offset-2 col-sm-6 col-sm-offset-3">
<div class="w-section inverse">
<div class="w-box sign-in-wr bg-5">
<div class="form-body">
<h5>
Please provide the following information about employment opportunity.
</h5>
<div class="row">
<form class="form-light padding-20" id="addJob">
<div class="form-group">
<div class="col-lg-6">
<label style="font-size:16px;" data-for="title">Title</label>
<input type="text" class="form-control" name="title" id="title" placeholder="">
</div>
<div class="col-md-12">
<label style="font-size:16px;" data-for="salary">Salary</label>
<input type="text" class="form-control" name="salary" id="salary" placeholder="">
</div>
<div class="col-lg-12">
<label style="font-size:16px;" data-for="location">Location</label>
<input type="text" class="form-control" name="location" id="location" placeholder="">
</div>
<div class="col-lg-4">
<label style="font-size:16px;" data-for="company">Company</label>
<input type="text" class="form-control" name="company" id="company" placeholder="">
</div>
<div class="col-lg-4">
<label style="font-size:16px;" data-for="jobDescription">Job Description</label>
<input type="text" class="form-control" name="jobdescription" id="jobdescription" placeholder="">
</div>
<div class="col-lg-2">
<label style="font-size:16px;" data-for="industry">Industry</label>
<input type="text" class="form-control" name="industry" id="industry" placeholder="">
<label class="checkbox"><input type="checkbox" name="profit" id="profit">Profit</a></label>
<label class="checkbox"><input type="checkbox" name="nonprofit" id="nonprofit">Non-Profit</a></label>
</div>
<div class="col-lg-2">
<label style="font-size:16px;" data-for="experience">Experience</label>
<input type="text" class="form-control" name="experience" id="experience" placeholder="">
</div>
<div class="col-lg-2">
<label style="font-size:16px;" data-for="reqSkills">Skills required</label>
<select name="requiredSkillsDropdown">
<option value="HTML5">HTML5</option>
<option value="CS3">CS3</option>
<option value="javascrip">Javascript</option>
<option value="jquery">jQuery</option>
</select>
</div>
<div class="col-lg-6">
<label style="font-size:16px;" data-for="workexp">Address</label>
<input type="text" class="form-control" name="street" id="street" placeholder="Street">
<input type="text" class="form-control" name="city" id="city" placeholder="City">
<input type="text" class="form-control" name="state" id="state" placeholder="State">
<input type="text" class="form-control" name="zip" id="zip" placeholder="Zip">
</div>
<div class="col-lg-4">
<label style="font-size:16px;" data-for="contact">Contact</label>
<input type="text" class="form-control" name="contact" id="zip" placeholder="">
</div>
<div class="col-lg-12">
<button class="btn btn-two pull-right" id="capturejobinfo" type="button">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
这个问题是无题的,因为它不包括任何以前的解决方案尝试。它列出了标记并要求读者提供解决方案。 StackOverflow专门用于协助编程问题,而不是众包您的开发项目。 – nbrooks