Jump to content

[SOLVED] From Help


dare87

Recommended Posts

I am trying to make a form that Will generate notes for people that use it.

The form as fields that you input the data in and then I want to be able to hit generate and have it pull the info.

What I have so far

<form action="" method="get">
    <table> <b>Section 1 - Account Information</b>
        <tr>
            <td>Caller's Name</td>
            <td><input id="callername" type="text" /></td>
        </tr>
        <tr>
            <td>Authorized Users</td>
            <td><input id="authusers" type="text" /></td>
        </tr>
        <tr>
            <td>Can be reached number (CBR)</td>
            <td><input id="cbr" type="text" /></td>
        </tr>
        <tr>
            <td>Reason for Calling</td>
            <td><input id="rfc" type="text" /></td>
        </tr>
        <tr>
            <td>Promotional Code (If Given)</td>
            <td><input id="promocode" type="text" /></td>
        </tr>
        <tr>
            <td colspan="2" style="height: 88px"><textarea id="gen1" style="width: 342px; height: 91px"></textarea></td>
        </tr>
        <tr>
            <td><input id="genb1" type="button" value="Generate"></td>
        </tr>
    </table>
    </form>

In the text area... I want it to pull the information... for example

"The caller's name is <textfield> the Authorized Users are <textfield>

They can be reach at <textfield>. They called to <textfield>. Promotional code was <textfield>"

 

I also want it to leave something out like "Promotional code was <textfield>" if it was left blank...

 

Any help would be great

Link to comment
https://forums.phpfreaks.com/topic/74777-solved-from-help/
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.