To Remove the Subject Field

RobMason

    February 2017

 

Hi, what’s the best way to remove the ‘Subject’ field from the new ticket form?

 

cjrupak

    February 2017

 

The best and easiest way would be to hide it using CSS but i would not recommend to remove the Subject field as it is required while submitting a new ticket and the ticket won’t get created if it is missing a required field like Subject.

Other than that you would need to modify the plugin’s functionality and make the subject field not required and then remove it.

RobMason

February 2017

 

I wonder if you could help with that?

I am also trying to remove the URL field (which I know is optional, but I want it removed entirely), but as none of your fields have classes I’m having trouble isolating it to hide with CSS.

Obviously I don’t want to change any of the plugin files, as I would like to keep it updated.

 

 

cjrupak

February 2017

 

 

Sorry for the delay in reply but here is the CSS to hide the URL field:

.form-group label[for=”url”], input#url{ display:none !important; }

Like i said before if we hide the Subject field the form will keep saying that is missing required field and it won’t get submitted, so it is not the right move to hide it using CSS.

Last updated byadmin