• I’m setting up the create ticket shortcode and need to add two custom fields that are pre-populated and cannot be changed.

    Is this possible via PHP hooks?
    I want to avoid doing it via javascript on the client side.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Nikhil G

    (@nsgawli)

    Hello,

    What is the type of fields you want to pre-populate?

    Thread Starter Marco Almeida | Webdados

    (@webdados)

    Hidden fields ??

    I’m basically implementing this create ticket form inside a customer area, inside each license he owns of plugins that we are selling. The shortcode is only there when the license is active, so this way they can only open tickets if the license is paid for.

    I wanted to have hidden fields with the license number, domain, etc.

    I’m doing it now via javascript and putting the fields to read-only.
    It works, but it’s ugly. https://snipboard.io/ZXhs0f.jpg

    Plugin Contributor Nikhil G

    (@nsgawli)

    Hello,

    Unfortunately, it is not possible to add hidden fields for these fields.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pre-populated read only fields’ is closed to new replies.