How to deactivate subject field?


Home Forums Front End PM PRO How to deactivate subject field?

This topic is: Resolved

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42676
    eddy.hoogendijk
    Participant

    Hi,

    How can I deactivate the subject field?
    I want to use it as sort of chat function between user and admin.
    Subject field is then just disturbing.

    Matter of giving it some value and non-display?

    Can you help?

    Thanks.

    #42683
    shamim
    Keymaster

    You can add a default value for subject and hide using css.
    Add following code in your theme’s (child theme’s if you are using) functions.php

    add_filter( 'fep_form_fields', function( $fields ){
    	if( isset( $fields['message_title'] ) ){
    		$fields['message_title']['value'] = 'Default Value for all message subject';
    	}
    	return $fields;
    });
    

    Then add .fep-form-field-message_title{display:none} in Front End PM PRO > Settings > Appearance > Custom CSS

    #42685
    eddy.hoogendijk
    Participant

    Hi, yes, that worked. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.