HelpSpot Help Desk Software | HelpSpot Blog | HelpSpot Support

Hide Submit Button after clicked?


#1

Is there a way to hide away the Submit Request button after it’s been pressed? We’ve had several instance of users clicking it repeatedly, causing multiple tickets. Or maybe put some sort of delay between sequential tickets from the same person?


#2

Hey I think you should be able to modify the submit button in request.tpl.php to something like this

   <input type="submit" name="submit" value="<?php echo lg_portal_req_submitrequest ?>" onclick="this.style.display = 'none'"/>
</div>```