Hi Hiroaki,
This is great plug-in, however, I ran into some issues. I followed the same instructions, but when I leave the field empty, click on publish, it says empty. After I gave the value and click on publish, it still says empty. Please advice.
This is my template content:
[Attach]
type = textarea
rows = 4
cols = 40
tinyMCE = true
mediaButton = true
class = Attach
[Post As]
type = checkbox
value = Anonymous
valueLabel = Anonymous
output = true
This is template instruction:
<script type=”text/javascript”>
jQuery(‘#save-post’).click(function() {
if(!jQuery(‘.Attach’).val()) { alert(‘Empty!’); return false; }
});
jQuery(‘#publish’).click(function() {
if(!jQuery(‘.Attach’).val()) { alert(‘Empty!’); return false; }
});
</script>
Thank you very much!!!
Did you find a solution for this? Thanks.
Did you find any solution?
Could you share with me what you have tried?