Jump to content

Recommended Posts

I have a registration submit form..then after they submit the form it leads to an upload form. How would I add that with the registration form?



current upload pictures:
[code]<form method="post" action="{%LINK_FORM%}" enctype="multipart/form-data">
    <div><input type="hidden" name="step" value="2" /></div>
    <div><input type="hidden" name="user" value="{%POST_user%}" /></div>

    {%LANG_please_upload%}

    <div style="padding-left:20px;padding-top:20px;">
    
    <div style="padding-bottom:6px;">
        {%LANG_image%} {%ERROR%}
        <div style="padding:4px;">
        <input type="file" name="image" size="30" />
        </div>
    </div>    
    
    <div style="padding:10px;">
        <input type="submit" value="{%LANG_upload_pic%}" style="cursor:pointer;" />
    </div>

    </div>
    </form>[/code]

current submit input from registration.
[code]
fields
fields
fields
goes down to submit..
<input type="submit" value=" {%lang_submit_form%} " style="cursor:pointer;" /> [/code]

Is there a way to add that together so that there will be an upload box as part of the registration form? I've seen it before just don't know how to do it. Maybe add it in the submit input somehow??

Thanks for the help.
Link to comment
https://forums.phpfreaks.com/topic/5316-form/#findComment-18978
Share on other sites

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.