Comment

kolibrizas

<input type="hidden" name="actiontype" value="none" id="ietype">
<button type="submit" onclick="document.getElementById('ietype').value='preview';" name="preview">Preview</button>
<button type="submit" onclick="document.getElementById('ietype').value='publish';" name="publish">Publish</button>

this solves the problem as you create a hidden value which changes value depending on the button you clicked. Hope I helped!

Replies

Gdbeck

kolibrizas,
Works Great. I always adhere to the KISS philosophy and this is such a simple but effective method. Appreciate the post.

kolibrizas

You are welcome :)
Glad to have helped ;)