Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Web Based Forms....

  • 03-12-2004 5:19pm
    #1
    Registered Users, Registered Users 2 Posts: 4,331 ✭✭✭


    Hi All,
    If this question has been asked already then forgive me....

    Does anyone have any information on web forms?

    I can put together the form etc. its the actual processing of the form thats the problem. I have very little programming experience so its a dummies guide is what I'm looking for. Basically, I have a form which people put there info in and click submit, on clicking submit I want the info sent directly to me, and the user to be redirected back to my home page...

    Please help with anything that may be useful...


Comments

  • Registered Users, Registered Users 2 Posts: 1,031 ✭✭✭buddy


    Use eircom.net's form processing cgi (you don't need an a/c with them) - just paste the below into your form and change the neccesary attributes. Works like a charm.

    <FORM ACTION="http://homepage.eircom.net/cgi-bin/auto_mail.cgi&quot; METHOD='post"'>
    <INPUT TYPE="HIDDEN" NAME="TO" VALUE="you@blah.com">
    <INPUT TYPE="HIDDEN" NAME="SUBJECT" VALUE="Choose a Subject">
    <INPUT TYPE="HIDDEN" NAME="RETURN" VALUE="http://www.yoursite.com/thanks.htm"&gt;


  • Registered Users, Registered Users 2 Posts: 884 ✭✭✭Cork Skate


    Just click here !!

    They are some of the simplier form tag attributes ( <form attribute> ) ... the attributes are the task you want the form tag to do.

    Just make so that you name all the elements in your form.


  • Registered Users, Registered Users 2 Posts: 4,331 ✭✭✭Keyzer


    buddy wrote:
    Use eircom.net's form processing cgi (you don't need an a/c with them) - just paste the below into your form and change the neccesary attributes. Works like a charm.

    <FORM ACTION="http://homepage.eircom.net/cgi-bin/auto_mail.cgi&quot; METHOD='post"'>
    <INPUT TYPE="HIDDEN" NAME="TO" VALUE="you@blah.com">
    <INPUT TYPE="HIDDEN" NAME="SUBJECT" VALUE="Choose a Subject">
    <INPUT TYPE="HIDDEN" NAME="RETURN" VALUE="http://www.yoursite.com/thanks.htm"&gt;

    When I use these values i get

    Error: No To field specified


  • Registered Users, Registered Users 2 Posts: 771 ✭✭✭whiteshadow


    is it name = "RECIPIENT"?


  • Registered Users, Registered Users 2 Posts: 4,331 ✭✭✭Keyzer


    same problem.

    Here is the complete form -

    <form action="http://homepage.eircom.net/cgi-bin/auto_mail.cgi&quot; method="POST">
    <p>
    <input type="hidden" name="RECIPIENT" value="paulkelly105@yahoo.co.uk">
    <input type="hidden" name="id" value="2426">
    <span class="textstyle">   <br>
       User Name   </span>      
    <input name="User Name" type="text" class="textboxstyle" onBlur="MM_validateForm('email','','RisEmail','Telephone','','RisNum');return document.MM_returnValue">
    <br>
    <span class="textstyle">   E-Mail </span>            
    <input name="email" type="text" class="textboxstyle">
    <span class="textstyle"> *</span>
    <input type="hidden" name="subject" value="Formmail Response">
    <input type="hidden" name="redirect" value="http://www.msn.com"&gt;
    <br>
    <span class="textstyle">   Telephone No         
    <input name="Telephone" type="text" class="textboxstyle" id="Telephone">
    </span></p>
    <p class="textstyle">   Contact                  
    E-mail
    <input name="radiobutton" type="radio" value="Email" checked>
    Phone
    <input type="radio" name="radiobutton" value="Telephone">
    <br>
       Preference</p>
    <p class="textstyle">   Product                  
    <input name="Product Interest" type="text" class="textboxstyle" id="Product Interest">
    <br>
       Interest</p>
    <p class="textstyle"> <br>
       Comments              
    <textarea name="textarea" class="textboxstyle" id="textarea"></textarea>
    </p>
    <p>                       
    <input name="Submit" type="submit" class="buttonstyle" value="Submit">
    <input name="Submit2" type="submit" class="buttonstyle" value="Clear">
    </p>
    </form>


  • Advertisement
  • Closed Accounts Posts: 4,655 ✭✭✭Ph3n0m


    http://dsl-support.eircom.net/SRVS/CGI-BIN/WEBCGI.EXE/,/?St=17,E=0000000000019001645,K=8250,Sxi=11,Case=obj(1342)

    If you go to the above eircom link it shows you precisely what to add


    Your fields do not match what eircom say to use - by case


  • Registered Users, Registered Users 2 Posts: 4,331 ✭✭✭Keyzer


    Ph3n0m wrote:
    http://dsl-support.eircom.net/SRVS/CGI-BIN/WEBCGI.EXE/,/?St=17,E=0000000000019001645,K=8250,Sxi=11,Case=obj(1342)

    If you go to the above eircom link it shows you precisely what to add


    Your fields do not match what eircom say to use - by case

    Perfect, cheers man, its working now.....
    Thanks for all the help...


Advertisement