I have a task here when I need help. what I'm trying to do is follow.
- Hide some fields in newform, change form and submit to SharePoint (2013)
- The field I'm trying to hide is ONLY the input / text field, and not the entire column / header associated with it. Basically I have a form with a headline and an associated text box (one line of text) next to it, what I would like to do is hide only the text box.
I used the IE F12 tools to select a text field that displays the following code:
<input title="Travel" class="ms-long ms-spellcheck-true" id="Travel_f6801fb9-c4ff-4109-acb9-f7dd63c1d98a_$TextField" type="text" maxlength="255" value="">
(text box linked to my Travel column)
Now, when I use the F12 tools to select this, I added some css (from what I can say) under the heading "inline Style" which was "display = none", and bingo it works!
Now what I cannot do is add this to the forms forever. I tried to do this by adding the Content web part to the form and trying the CSS / Java script, but I just don't have the skills in this area .. does that make sense?
Examples: 

any help would be great
Hooray!
source share