I have a POST form and action to itself lie following:
<cfform name="Indexform" method="post" action="index.cfm">
I want to give user complete message when POST complete and show error message if there is any.
I want to use on Button click, but it seems that it is too early.
It should handle by server side, since it needs get back from server for POST.
<td><input name="Submit" type="submit" id="Submit" value="Submit" onClick="PostMessage()"/></td>
I would like to use
ColdFusion.CreateMessage or CFMessagebox to show user message.
Are there any condition I can check using CFIF to generate this user message?
Your help and information is great appreciated,
I tried to use onSuccess event on cfform, but it does not trigger the onSuccess event, even I have the code in div tag.
Any informaiton and help is great appreciated,