Jump to content

form


pneudralics

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.