Jump to content

Recommended Posts

i have a page like

 

<form>

tonnes of php

</form>

 

the php loops aload of data and the page is admittedly pretty big and does a lot of functions.

 

could the size of processing in within the form break it?

cos when i put it like above, it doesnt work, but when i put it like below it does:

 

tonnes of php

<form>

bit of php

</form>

 

just so im not misleading you, the file is only 200 lines long, inc html...

 

thanks for reading, joe.

 

Link to comment
https://forums.phpfreaks.com/topic/244525-while-loop-break-form/
Share on other sites

in actual fact, it cant be the php at all. it must be something to do with this:

 

<form method="POST" action="<?php echo $html_dir . $prerewrite . $link_send_contact . $postrewrite; ?>">
   <div style="display: none;">
      <div id="send-contact" style="width:400px;height:auto;overflow:auto;">
           form stuff
      </div>
    </div>
</form>
<a href="#send-contact" class="submit" id="send-contact-button">contact these people</a> <!-- this is the trigger to open form in fancybox -->

 

click the submit button does nothing...

Well in order for the submit button not to work either the form doesn't recognize it as an input button or you have an error in some javascript (jquery in particular) basically you need to backup the code and start removing things 1 by 1 just to find where the complication is.

i do have jquery installed and i am using fancy box.

 

there are no errors, but any input fields/buttons placed with this html set up are not recognised...

 

any thoughts?

 

  <div style="display: none;">

      <div id="send-contact" style="width:400px;height:auto;overflow:auto;">

        2  input fields and a submit button

      </div>

    </div>

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.