How to Grab email address from webform and insert into form action


please need on this: have webform want details submitted via email. whcih got right bc knowledgebase. on 'emailfrom=' line. want system grab  email address user provides in webform , inserts 'emailfrom='. use case not require users log in since administrator generated content , not  user-generated content.

 

 

please how possible? need concise practical help. code assistance appreciated. code form.

 

<form name="catwebformform60818" method="post" onsubmit="return checkwholeform60818(this)"

            enctype="multipart/form-data" action="/formprocessv2.aspx?a=form&email={tag_staff email address}&subject={tag_name_nolink}&emailfrom=yourfromemail@yourdomain.compageid=%2fpricerequestsent.html&oid={module_oid}&otype={module_otype}&amp;optin=true&eid={ module_eid}&cid={module_cid}">

                <table class="webform" cellspacing="0" cellpadding="2" border="0">

                    <tr>

                        <td>

                           

                            <input type="text" name="fullname" id="fullname" class="searchweb" maxlength="255"

                            placeholder="full name[required]" />

                        </td>

                    </tr>

                    <tr>

                        <td>

              

                            <input type="text" name="emailaddress" id="emailaddress" class="searchweb" maxlength="255"

                            placeholder="email address[required]" />

                        </td>

                    </tr>

                    <tr>

                        <td>{module_ccsecurity}</td>

                    </tr>

                    <tr>

                        <td>

                           

                            <input type="text" name="cellphone" id="cellphone" class="searchweb" maxlength="255"

                            placeholder="phone number[required]" />

                        </td>

                    </tr>

                    <tr>

                        <td>

                            <label>enter word verification in box below <span class="req">*</span>

                               

                            </label>

                            <br />{module_captchav2}</td>

                    </tr>

                    <tr style="display:none;">

                        <td>

                            <input type="checkbox" name="campaignlist_1008" />subscribe to:  real estate blog</td>

                    </tr>

                    <tr style="display:none;">

                        <td>

                            <input type="checkbox" name="campaignlist_998" />subscribe to: real news</td>

                    </tr>

                    <tr>

                        <td>

                            <input class="submit" type="submit" value="submit" id="catwebformbutton" />

                        </td>

                    </tr>

                </table>

                <script type="text/javascript" src="/catalystscripts/validationfunctions.js"></script>

                <script type="text/javascript">

                    //<![cdata[

                    var submitcount60818 = 0;

                   

                    function checkwholeform60818(theform) {

                        var why = "";

                        if (theform.fullname) why += isempty(theform.fullname.value, "full name");

                        if (theform.emailaddress) why += checkemail(theform.emailaddress.value);

                        if (theform.cellphone) why += isempty(theform.cellphone.value, "cell phone number");

                        if (theform.captchav2) why += captchaisinvalid(theform, "enter word verification in box below", "please enter correct word verification seen in image");

                        if (why != "") {

                            alert(why);

                            return false;

                        }

                        if (submitcount60818 == 0) {

                            submitcount60818++;

                            theform.submit();

                            return false;

                        } else {

                            alert("form submission in progress.");

                            return false;

                        }

                    }

                    //]]>

                </script>

            </form>

hello topelovely,

i wondering if still needed on this?



More discussions in How to - HTML / CSS / JavaScript


adobe

Comments

Popular posts from this blog

Thread: "Broken" background image with Super Key

Is this Captcha code corrupt?