kmk Posted May 14, 2020 Posted May 14, 2020 Hi, 1. In the Request of support form, how I can insert placeholder into the Title field? 2. Is possible hide the message editor? I would like create some customs fields for specific request.
DawPi Posted May 14, 2020 Posted May 14, 2020 11 minutes ago, kmk said: . In the Request of support form, how I can insert placeholder into the Title field? You mean Support from a Nexus app?
kmk Posted May 14, 2020 Author Posted May 14, 2020 4 minutes ago, DawPi said: You mean Support from a Nexus app? yes
DawPi Posted May 14, 2020 Posted May 14, 2020 23 minutes ago, kmk said: 1. In the Request of support form, how I can insert placeholder into the Title field? By plugin hooked into applications/nexus/sources/Support/Request.php /* !Forms */ /** * Get elements for add/edit form * * @param \IPS\Content\Item|NULL $item The current item if editing or NULL if creating * @param \IPS\Node\Model|NULL $container Container (e.g. forum), if appropriate * @return array */ public static function formElements( $item=NULL, \IPS\Node\Model $container=NULL ) { 24 minutes ago, kmk said: 2. Is possible hide the message editor? I would like create some customs fields for specific request. I affraid you can't remove it. It would be bad idea anyway. Custom Fields are available in the Support Settings:
kmk Posted May 15, 2020 Author Posted May 15, 2020 15 hours ago, DawPi said: /* !Forms */ /** * Get elements for add/edit form * * @param \IPS\Content\Item|NULL $item The current item if editing or NULL if creating * @param \IPS\Node\Model|NULL $container Container (e.g. forum), if appropriate * @return array */ public static function formElements( $item=NULL, \IPS\Node\Model $container=NULL ) { Thanks you
Recommended Posts