Met ingang van versie HTML-Kit Tools 20090512 kunnen PHP plugins eenvoudig een gebruikers input vragen.
Een PHP code als voorbeeld (zie PHP in plugins eerst):
<?php $sSelText = $HKit->GetSelText(); $aFields = array( array('id' => 'html', 'type'=>'checkbox', 'prompt'=>'HTML Comment', 'value'=>'1'), array('id' => 'subject', 'type'=>'text', 'prompt'=>'Subject', 'value'=> '', 'watermark'=>'Comment subject'), array('id' => 'notes', 'type'=>'memo', 'prompt'=>'Notes', 'value'=>$sSelText) ); $aR = $HKit->GetInput( array('title'=>'Add Comment'), $aFields ); if($aR['ok']) { $bHTMLComment = ('1' == $aR['html']); $s = $bHTMLComment ? "<!--\n" : "/*\n"; $s .= "Subject: ". $aR['subject'] ."\n\n\n"; $s .= "Notes:\n". $aR['notes'] ."\n\n"; $s .= $bHTMLComment ? "\n-->\n" : "\n*/\n"; $s .= "\n"; echo $s; $HKit->MessageBox( $bHTMLComment ? 'HTML-style comment' : 'CSS-style comment'); } ?>