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