• Resolved bananenkopf

    (@bananenkopf)


    Hey,

    I am using the shortcode with

    [fep_shortcode_new_message_form to="{current-post-author}" subject="{current-post-title}"]

    Is it possible to make the subject not editable by the user? i couldn’t find the code where to define the input field and make it readonly or display as p element.

    • This topic was modified 6 years, 4 months ago by bananenkopf.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shamim Hasan

    (@shamim51)

    You can use fep_form_fields filter hook to make that field readonly or show in p tag. But for p tag make sure to pass message_title as hidden field.

    Thread Starter bananenkopf

    (@bananenkopf)

    Hey, thank you for the answer!

    This was so obvious but I couldn’t see it…

    It works perfect now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make subject not editable’ is closed to new replies.