kmk Posted May 14, 2020 Share 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. Link to comment Share on other sites More sharing options...
DawPi Posted May 14, 2020 Share 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? Link to comment Share on other sites More sharing options...
kmk Posted May 14, 2020 Author Share Posted May 14, 2020 4 minutes ago, DawPi said: You mean Support from a Nexus app? yes Link to comment Share on other sites More sharing options...
DawPi Posted May 14, 2020 Share 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: Link to comment Share on other sites More sharing options...
kmk Posted May 15, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts