dare87 Posted October 25, 2007 Share Posted October 25, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/74777-solved-from-help/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.