"Form Html".Gave the form a name ( "General" )Set "Email the results" to "yes""Setup Emails" -> put in a "to" and a "subject""On Submit code - after sending email:" -> put in a confirmation-message"Anti Spam" -> Set "Use Image verification:" to "yes""Validation" -> Set "Enable Validation ?" to "yes"[/list]With these settings the configuration is looking like some working forms I've build with the wizard.The only difference I've found are the form-field names and types in "AutoGenerated code" - I think that's normal, right?Furthermore I'm pretty sure that the mootools-validation is working, because if type nothing or a wrong thing in a required field the "validation-advice" div is showing up.The verification image is also at the right place, so that seems to be working as well.I suppose that the submit button is the problem.As I already said: Nothing happens if I press the button, there is no error showing up 'cause I haven't filled up all fields or due to wrong input in the security-field (captcha).Even the confirmation-message isn't shown...I hope that is enough information to give me a hint.By the way: thanks for that nice component. Its one of the best and I'm going to buy a license if I've found a way to get it working😉Greetings and sorry for my bad English."> Submit isn't working? - Forums

Forums

Submit isn't working?

phil05 29 Jan, 2009
Hello,

I'm trying to get my first self-made form to work.
Unfortunately nothing happens if I press the submit-button. It would be very kind if someone can help me.

Here is the code of my form (there are a few words in German, but nothing important for the function):
<style type="text/css">
<!--
#form_wrap
{
    text-align:center;
	padding:0px 12.5%;
	margin:0px;
	width:75%;
}
#form_wrap .formular
{
    text-align:center;
}
#form_wrap .form_item
{
    padding: 5px 0px;
}
#form_wrap .clear
{
    clear:both;
}
#form_wrap label
{
    display:block;
	float:left;
	text-align:right;
	width:180px;
}
#form_wrap input[type="text"], textarea
{
    float:left;
	margin-left:50px;
}
#form_wrap input[type="button"]
{
    float:left;
	margin-left:50px;
}
#form_wrap .image_verification
{
    float:left;
	margin-left:50px;
}
#form_wrap .image_verification_text
{
	font-weight:bold;
}
#chrono_verification
{
    margin-left:0px !important;
}
.image_verification img
{
    position:relative;
	top:-9px;
}
.validation-advice
{
    clear:both;
	padding:10px 0px 5px;
}
-->
</style>
<div id="form_wrap">

<div class="formular">
<!-- Heading -->
<div class="form_item">

</div>
<!-- Name -->
<div class="form_item">
<label for="name">Name:</label>
<input name="name" type="text" class="required" id="name" size="30" maxlength="150">
<div class="clear"></div>
</div>
<!-- Email -->
<div class="form_item">
<label for="email">E-Mail:</label>
<input name="email" type="text" class="required validate-email" id="email" size="30" maxlength="150">
<div class="clear"></div>
</div>
<!-- Betreff -->
<div class="form_item">
<label for="betreff">Betreff:</label>
<input name="betreff" type="text" class="required" id="betreff" size="30" maxlength="150">
<div class="clear"></div>
</div>
<!-- Nachricht -->
<div class="form_item">
<label for="nachricht">Nachricht:</label>
<textarea name="nachricht" id="nachricht" class="required" cols="30" rows="7"></textarea>
<div class="clear"></div>
</div>
<!-- Captcha -->
<div class="form_item">
<label for="chrono_verification">Sicherheitsabfrage:</label>
<span class="image_verification_text">Bitte tragen Sie die Buchstaben in das nebenstehende Feld ein.</span>
<div class="clear"></div>
<br />
<label> </label><span class="image_verification">{imageverification}</span>

<div class="clear"></div>
</div>
<!-- Button -->
<div class="form_item">
<label> </label>
<input name="submit" type="button" value="Nachricht senden">
<div class="clear"></div>
</div>

</div>

</div>


That's my platform:
[list]
  • Joomla 1.5.9

  • Chronoforms 3.0 Stable (V. 1.0.1) - newest Version I've found on your website.
  • [/list]

    I've done the following things:
    [list]
  • I put the code into "Form Code" -> "Form Html".

  • Gave the form a name ( "General" )

  • Set "Email the results" to "yes"

  • "Setup Emails" -> put in a "to" and a "subject"

  • "On Submit code - after sending email:" -> put in a confirmation-message

  • "Anti Spam" -> Set "Use Image verification:" to "yes"

  • "Validation" -> Set "Enable Validation ?" to "yes"
  • [/list]

    With these settings the configuration is looking like some working forms I've build with the wizard.
    The only difference I've found are the form-field names and types in "AutoGenerated code" - I think that's normal, right?

    Furthermore I'm pretty sure that the mootools-validation is working, because if type nothing or a wrong thing in a required field the "validation-advice" div is showing up.
    The verification image is also at the right place, so that seems to be working as well.

    I suppose that the submit button is the problem.
    As I already said: Nothing happens if I press the button, there is no error showing up 'cause I haven't filled up all fields or due to wrong input in the security-field (captcha).
    Even the confirmation-message isn't shown...

    I hope that is enough information to give me a hint.

    By the way: thanks for that nice component. Its one of the best and I'm going to buy a license if I've found a way to get it working😉

    Greetings and sorry for my bad English.
    GreyHead 29 Jan, 2009
    Hi phil05,

    Try
    <input name="submit" type="submit" value="Nachricht senden">


    Bob
    phil05 29 Jan, 2009
    Hey,

    thanks for the fast response!

    It is working🙂
    Very nice. Thanks for the help!

    Greets
    GreyHead 29 Jan, 2009
    Hi phil05,

    You are welcome, enjoy ChronoForms.

    Bob
    This topic is locked and no more replies can be posted.