My custom form isn't showing up!

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
gogoguerilla
Posts: 29
Joined: Mon 12. Apr 2004, 01:22

My custom form isn't showing up!

Post by gogoguerilla »

I've created a custom html form (using a 3rd party formmail.php), but when i put the form html into the content block to be displayed on the site, none of the form elements (text boxes, radio buttons, etc.) appear - only the text does.

Any thoughts?

Thanks
Pappnase

Post by Pappnase »

hello

how did you insert the e-mail form to the phpwcms system!?
and why did you use an 3rd party formmailer!?
gogoguerilla
Posts: 29
Joined: Mon 12. Apr 2004, 01:22

Post by gogoguerilla »

I inserted the code into the "html" content element.

I'm using third party because I need to have the the user to be able to select the recipient.
Pappnase

Post by Pappnase »

hello

sorry but you can create with the phpwcms formmailer also your own mail form. if i'm wrong so please correct me.
gogoguerilla
Posts: 29
Joined: Mon 12. Apr 2004, 01:22

Post by gogoguerilla »

Right; however, if even if I change the ACTION to the phpwcms formmailer (and still use my own html to design the form), the form elements still do not appear...

I've attached the code I'm using:

Code: Select all

<form ACTION="mailapp/emailform.php" method="post" name="boardform" target="_self">

<input type="hidden" name="MAX_FILE_SIZE" value="1000000">
<input type="hidden" name="path_to_file" value="uploaded/files">
<input type="hidden" name="require" value="subject">
<input type="hidden" name="ar_file" value="mailapp/autoreply.txt">
<input type="hidden" name="ar_subject" value="Your message was sent!">
<input type="hidden" name="ar_from" value="noreply@thesisters.org">
<input type="hidden" name="env_report" value="REMOTE_HOST,HTTP_USER_AGENT">
<table>
 <tr>
  <td>
<p>To whom do you wish to send a message?</p>
<p>
    <select name="recipient">
     <option value="email1@domain.com">RECIPIENT1</option>
     <option value="email2@domain.com">RECIPIENT2</option>
     <option value="email3@domain.com">RECIPIENT3</option>
      </select>
</p>
  </td>
 </tr>

 <tr>
  <td>Your Name:</td><td><input type=text name="name" size=40></td>
 </tr>

 <tr>
  <td>Your Email:</td><td><input type=text name="email"></td>
 </tr>

 <tr>
  <td>Your Phone:</td><td><input type=text name="phone_no"></td>
 </tr>

 <tr>
  <td>Subject:</td><td><input type=text name="subject"></td>
 </tr>

 <tr>
  <td>Message:</td><td><textarea name="message" cols="40" rows="5"></textarea></td>
 </tr>

 <tr>
  <td colspan="2">You can use this form to send us a file (i.e. an image for the Mistress of Archives). Maximum file size is 1MB.</td>
 </tr>
 <tr>
  <td>Attach File:</td><td><input type="file" name="attachment"></td>
 </tr>

 <tr>
  <td colspan="2"><input type="submit"><input type="reset"></td>
 </tr>
</table>

<br><br><hr>

</form>
Pappnase

Post by Pappnase »

hello

thanks i will test if this work also with the phpwcms formmailer! normally i think i should ;-) i have also an html form with the phpwcms formmailer running!

did you have enable the allow_remote url value in the conf.inc.php!?
gogoguerilla
Posts: 29
Joined: Mon 12. Apr 2004, 01:22

Post by gogoguerilla »

Oops! Stupid me.. There were some invisibles in the form code that were keeping the code from rendering properly. It is working now... http://thesisters.urbanesque.org/index.php?contactboard
Post Reply