Looking for help with phpLD submit page (today - willing to pay well)

Discussion in 'Programming' started by Nima, May 13, 2012.

  1. #1
    Looking for help with phpLD submit page (today - willing to pay well)

    Please send me a pm or post a message here
     
    Nima, May 13, 2012 IP
  2. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    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.
     
    dvduval, May 13, 2012 IP
  3. Nima

    Nima Well-Known Member

    Messages:
    3,489
    Likes Received:
    243
    Best Answers:
    0
    Trophy Points:
    175
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    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):
     
    Nima, May 13, 2012 IP
  4. Nima

    Nima Well-Known Member

    Messages:
    3,489
    Likes Received:
    243
    Best Answers:
    0
    Trophy Points:
    175
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    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?
     
    Nima, May 14, 2012 IP
  5. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    I asked someone to take a look, but it will probably be tomorrow. Thanks for providing more info.
     
    dvduval, May 14, 2012 IP
  6. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    dvduval, May 14, 2012 IP
  7. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    You didn't say what version you are using. Can you please let us know?
     
    dvduval, May 15, 2012 IP
  8. Nima

    Nima Well-Known Member

    Messages:
    3,489
    Likes Received:
    243
    Best Answers:
    0
    Trophy Points:
    175
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #8
    Im still trying to figure this out. None of those people could help. I'm using V4.1
     
    Nima, May 15, 2012 IP
  9. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #9
    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.
     
    dvduval, May 15, 2012 IP
  10. onachenko-igor

    onachenko-igor Peon

    Messages:
    2
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #10
    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.
     
    onachenko-igor, May 16, 2012 IP
    Nima likes this.
  11. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #11
    Did this help you, Nima?
     
    dvduval, May 16, 2012 IP
  12. Nima

    Nima Well-Known Member

    Messages:
    3,489
    Likes Received:
    243
    Best Answers:
    0
    Trophy Points:
    175
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #12
    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
     
    Nima, May 16, 2012 IP
  13. dvduval

    dvduval Notable Member

    Messages:
    3,372
    Likes Received:
    356
    Best Answers:
    1
    Trophy Points:
    260
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #13
    Yes, sounds like you just left out some of the original code. Good luck.
     
    dvduval, May 18, 2012 IP
  14. Nima

    Nima Well-Known Member

    Messages:
    3,489
    Likes Received:
    243
    Best Answers:
    0
    Trophy Points:
    175
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #14
    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
     
    Nima, May 21, 2012 IP