Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author JoomSky

    (@rabilal)

    Hi,

    These fields are required in system.
    If you unpublished them, system may not work properly. So we make them required. You can not unpublished them.

    Regards,
    Ahmad Bilal

    Thread Starter sokson

    (@sokson)

    What about making the fields read only since email and fullname is default

    Plugin Author JoomSky

    (@rabilal)

    Hi,

    We do not recommend to make full name to read only.

    Edit
    ../plugins/js-support-ticket/modules/ticket/tpls/addticket.php

    Existing code
    echo JSSTformfield::text(’email’, $email, array(‘class’ => ‘inputbox’, ‘data-validation’ => ’email’,));

    New code (Bold)
    echo JSSTformfield::text(’email’, $email, array(‘class’ => ‘inputbox’, ‘data-validation’ => ’email’, ‘readonly’=>’true’));

    Regards,
    Ahmad Bilal

    Thread Starter sokson

    (@sokson)

    You are awesome Ahmad, thanks a lot.

    Now I can enjoy your awesome plugin!

    Thread Starter sokson

    (@sokson)

    I just noticed the fields I created and made them *required are still allowing ticket to submit.

    Thread Starter sokson

    (@sokson)

    Hi rabilal,

    I created some fields under “create user field”

    After creating the fields and making it required, ticket still submit despite the fact that the fields are empty.

    Please why is this???

    Thanks.

    Thread Starter sokson

    (@sokson)

    Thanks a lot, I figured it out.

    Apparently I didn’t set it as required under “Field Ordering”

    Thanks once again.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to disable and hide mandatory fields’ is closed to new replies.