Looking for help with phpLD submit page (today - willing to pay well) Please send me a pm or post a message here
Feel free to say more about what you need. Being Sunday and Mother's Day I don't know what help we have available, but more info would be good. Maybe it is something quick to solve.
im hand coding a submit page of phpld. Basically I'm typing every input field (using the name used in the database) and writing my own validation. But when the user clicks submit its not taking the user to the payment page. I'm not sure if there is a particular code I have to put in the <form> part or the <submit> part. This is what I'm using: <form class="FormClass" id="customForm" method="get" action="" name="FormClass"> <input type="radio" name="LINK_TYPE" value="2" checked="checked"/>Regular Listing: $9.95 / year <input type="radio" name="LINK_TYPE" value="4" />Featured Listing: $39.95 / year Listing Administrator's Name<br/> <input type="text" name="OWNER_NAME" id="OWNER_NAME" class="required"/> ... <input class="SubmitButton" type="submit" value="Submit"/> </form> Code (markup):
Do I need to put the Label for each field too? Right now I don't have any fields in there? Also is the enctype="multipart/form-data" important in the <form> part?
Ok, hopefully they can look tomorrow. Yes, it is probably much better to go directly through us, but trying to help you this time. Just a little slower this way.
hi Nima, I have checked original submit.tpl of phpld 4.1 Yes, enctype="multipart/form-data" should be in the <form> You have such string: <input class="SubmitButton" type="submit" value="Submit"/> there should be name of the submit input look to the original code: <tr> <td colspan="2" class="buttons"> {if !$review_link and !$remove_link} <input type="submit" name="continue" value="{l}Continue{/l}" class="btn" /> {else} <input type="hidden" name="id" value="{$data.ID}"/> <input type="submit" name="edit" value="{l}Continue{/l}" class="btn" /> {/if} </td> </tr> Have you original submit.php and submit.tpl files? You should change you script carefully according to the original files.
I'll check on it when i get back home tonight. I do have the original submit.php but i've modified the heck out of the submit.tpl. I haven't kept the same <form> name or ID so that might be causing some problems too. I'll post an update afterwards. Thanks
yes. Thanks. I ended up having to ask someone (great programmer) to go over the whole code and make it work. I think I was missing parts of the code and bad validation stuff too