HomeHome  
  • WelcomeWelcome  
  • Events  
  • PublicationsPublications  
  • FAQFAQ  
  • SearchSearch  
  • MemberlistMemberlist  
  • UsergroupsUsergroups  
  • RegisterRegister  
  • Log inLog in  
  • You are not connected. Please login or register


    Form which sends the info via PM

    avatar
    • *****


        Reputation : 11
        Registered on : 2014-04-25
        Posts : 153
        Love Fmcodes
      Hi, i want to create a html page for Mod applications for my forum. I made the form but how to make that(?): when somebody press the 'submit/send' button, it will collect all the items from dropdown menus and textboxes (from the form) and send them all in PM to me (/u1)..  Crazy

      avatar
      • Administrator

          Reputation : 315
          Registered on : 2012-02-22
          Posts : 2317
          School of codes courses: coming soon
        Hello

        can you provide us more informations?
        like the code you have used, etc



        Actually I use this tool for managing forms, but it is in italian Wink
        http://outils.meximas.com/panel/formulario.php



        Niko wants you in the team Guest

        Community manager and Administrator at Forumattivo.com

        avatar
        • *****


            Reputation : 11
            Registered on : 2014-04-25
            Posts : 153
            Love Fmcodes
          i got it from a forum but its VERY bad written...

          Code:
          <div id="emptyidcc" class="no-left"><div id="outer-wrapper"><div id="wrapper"><div id="container"><div id="content"><div id="emptyidleft"></div><div id="main"><div id="main-content"><div class="od695657" style="padding:10px 0 0 0 !important;"><i-frame src="http://an.z5x.net/tt?id=1488279&size=728x90&cb=6722337&referrer=forumotion.com" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="728" height="90" style="display: none !important;"></i-frame><br class="clear"></div><div style="clear:both;"></div><style type="text/css">html body .od695657,html body .od695657 i-frame,html body i-frame[name="google_ads_frame"],html body .od695657 i-frame[name="google_ads_frame"],html body #wrap #page-body div.od695657,html body #page-body .od695657{display:block!important;visibility:visible!important;float:none!important;position:inherit!important;left:inherit!important;top:inherit!important;right:inherit!important;bottom:inherit!important;margin:0 auto!important;filter:alpha(opacity=100)!important;-moz-opacity:1!important;-khtml-opacity:1!important;opacity:1!important;z-index:9999!important;text-align:center!important}html body .od695657,html body .od695657 i-frame[name="google_ads_frame"]{width:728px!important;height:90px!important;min-height:90px!important}html body .od695657 i-frame{border:0px!important}html body i-frame[name="google_ads_frame"]{width:100%!important;height:inherit!important;min-height:inherit!important}</style><div style="height:3px"></div>
              <style type="text/css">
                          #ank_container {margin: auto; width: 600px;}
                        </style>
                        <form name="newanket">
                          <hr><hr><hr><hr><hr><hr><hr><center><span class="Title"> S  T  A  F  F </span></center><hr><hr><hr><hr><hr><table id="ank_container">
                              <tbody><tr>

          <style type="text/css">
              .Title{
              color: #f0f0f0;
              font: bold 72px Helvetica;
              text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #0085C2, 0 0 40px #0085C2, 0 0 70px #0085C2, 0 0 80px #0085C2, 0 0 100px #0085C2, 0 0 150px #fff;}</style>

                             


                              </tr><tr>
                                <td>Real name:</td>
                                <td><input type="text" name="yourname" size="35"></td>
                              </tr>
                              <tr>
                                <td>Username:</td>
                                <td><input type="text" name="yournick" size="35"></td>
                              </tr>
                              <tr>
                                <td>Class:</td>
                                <td><select name="yourclass">
                                    <option value="Mod">Mod</option>             
                              </select></td></tr><tr>
                              </tr><tr>
                                <td>Birth Date:</td>
                                <td>
                                    <script type="text/javascript">
                                      document.write('<select name="yourdateday">');
                                      for(i=1;i<=31;i++){document.write('<option value="'+i+'">'+i+'</option>');}
                                      document.write('</select>');
                                    </script><select name="yourdateday"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option></select>
                                    <select name="yourdatemonth">
                                      <option value="January">January</option>
                                      <option value="February">February</option>
                                      <option value="March">March</option>
                                      <option value="April">April</option>
                                      <option value="May">May</option>
                                      <option value="June">June</option>
                                      <option value=">July">July</option>
                                      <option value="August">August</option>
                                      <option value="September">September</option>
                                      <option value="October">October</option>
                                      <option value="November">November</option>
                                      <option value="December">December</option>
                                    </select>
                                    <script type="text/javascript">
                                      document.write('<select name="yourdateyear">');
                                      for(i=1930;i<=2011;i++){document.write('<option value="'+i+'">'+i+'</option>');}
                                      document.write('</select>');
                                    </script><select name="yourdateyear"><option value="1930">1930</option><option value="1931">1931</option><option value="1932">1932</option><option value="1933">1933</option><option value="1934">1934</option><option value="1935">1935</option><option value="1936">1936</option><option value="1937">1937</option><option value="1938">1938</option><option value="1939">1939</option><option value="1940">1940</option><option value="1941">1941</option><option value="1942">1942</option><option value="1943">1943</option><option value="1944">1944</option><option value="1945">1945</option><option value="1946">1946</option><option value="1947">1947</option><option value="1948">1948</option><option value="1949">1949</option><option value="1950">1950</option><option value="1951">1951</option><option value="1952">1952</option><option value="1953">1953</option><option value="1954">1954</option><option value="1955">1955</option><option value="1956">1956</option><option value="1957">1957</option><option value="1958">1958</option><option value="1959">1959</option><option value="1960">1960</option><option value="1961">1961</option><option value="1962">1962</option><option value="1963">1963</option><option value="1964">1964</option><option value="1965">1965</option><option value="1966">1966</option><option value="1967">1967</option><option value="1968">1968</option><option value="1969">1969</option><option value="1970">1970</option><option value="1971">1971</option><option value="1972">1972</option><option value="1973">1973</option><option value="1974">1974</option><option value="1975">1975</option><option value="1976">1976</option><option value="1977">1977</option><option value="1978">1978</option><option value="1979">1979</option><option value="1980">1980</option><option value="1981">1981</option><option value="1982">1982</option><option value="1983">1983</option><option value="1984">1984</option><option value="1985">1985</option><option value="1986">1986</option><option value="1987">1987</option><option value="1988">1988</option><option value="1989">1989</option><option value="1990">1990</option><option value="1991">1991</option><option value="1992">1992</option><option value="1993">1993</option><option value="1994">1994</option><option value="1995">1995</option><option value="1996">1996</option><option value="1997">1997</option><option value="1998">1998</option><option value="1999">1999</option><option value="2000">2000</option><option value="2001">2001</option><option value="2002">2002</option><option value="2003">2003</option><option value="2004">2004</option><option value="2005">2005</option><option value="2006">2006</option><option value="2007">2007</option><option value="2008">2008</option><option value="2009">2009</option><option value="2010">2010</option><option value="2011">2011</option></select>
                                </td>
                              </tr>
                              <tr>
                                <td>Have you ever been moderator again?:</td>
                                <td><input type="text" name="yourclan" size="35"></td>
                              </tr>
                              <tr>
                                <td>Contact Info (e-mail, skype, etc.):</td>
                                <td><input type="text" name="yourcontacts" size="35"></td>
                              </tr>
                              <tr>
                                <td>Why should we hire you?:</td>
                                <td><textarea name="yourabout" cols="30" rows="5"></textarea></td>
                              </tr>
                              <tr>
                                <td colspan="2"><input type="checkbox" name="rules" onclick="buttonOk(this, this.form);"> I wanna be a part of the staff :)</td>
                              </tr>
                              <tr>
                                <td style="text-align: center;" colspan="2"><input type="button" name="post" value="Send" onclick="formSubmit(this.form, document.post);" disabled=""></td>
                              </tr>
                          </tbody></table>
                        </form>
                        <form action="/post" method="post" name="post" enctype="multipart/form-data">
                          <input type="text" name="subject" style="display: none;">
                          <input type="text" name="username" style="display: none;">
                          <input type="hidden" name="lt" value="0">
                          <input type="hidden" name="mode" value="newtopic">
                          <input type="hidden" name="topictype" value="0" checked="checked">
                          <input type="hidden" name="f" id="f" value="1">
                          <textarea name="message" style="display: none;"></textarea>
                          <input type="hidden" name="post" value="Отправить">
                        </form>
                  <script type="text/javascript">
                          function buttonOk(el, elf){
                              if(elf.post.disabled) elf.post.disabled=false;
                              else elf.post.disabled=true;
                          }
                          function formSubmit(f, fs){
                              if(f.yourname.value && f.yournick.value && f.yourlvl.value && f.yourplace.value && f.yourcontacts.value && f.yourabout.value){
                                fs.subject.value = "Message from "+f.yournick.value;
                                fs.username.value = f.yournick.value;
                                fs.message.value = "Real Name: <strong>"+f.yourname.value+"</strong> \n Username: <strong>"+f.yournick.value+"</strong> \n I want to be: <strong>"+f.yourclass.value+"</strong> \n Level: <strong>"+f.yourlvl.value+"</strong> \n "+
                                                "I live in: <strong>"+f.yourplace.value+"</strong> \n I was born in: <strong>"+f.yourdateday.value+"."+f.yourdatemonth.value+"."+f.yourdateyear.value+"</strong> \n "+
                                                "First time Mod?: <strong>"+f.yourclan.value+"</strong> \n Contact <strong>"+f.yourcontacts.value+"</strong> \n О себе: <strong>"+f.yourabout.value+"</strong>";
                                //alert(fs.subject.value+"\n"+fs.username.value+"\n"+fs.message.value+"\n"+fs.post.value);
                                fs.submit();
                              } else alert("You need to complete all the details!");
                          }
                        </script></div></div></div></div></div><div id="emptyidright"></div></div></div>

          avatar
          • Administrator

              Reputation : 315
              Registered on : 2012-02-22
              Posts : 2317
              School of codes courses: coming soon
            obviously this is a copy/paste code from the source code of a page :bene:

            try to use the tool I told you (maybe use google translator)



            Niko wants you in the team Guest

            Community manager and Administrator at Forumattivo.com

            avatar
            • *****


                Reputation : 11
                Registered on : 2014-04-25
                Posts : 153
                Love Fmcodes
              xD its actually not copy-paste but its worthless to say how i got it..
              anyway, i tried the link u gave me but i need to send PM with the details filled in the form instead to post topic.. :/

              avatar
              • Support Moderator

                  Reputation : 8
                  Registered on : 2014-03-11
                  Posts : 299
                  Helping on the forum
                Hello

                can this issue be considered solved?
                If not, please post a bump message withing 7 days to let us know you still need assistance

                Thank you very much thanks



                FMCodes Support Moderator

                I am very active now! Feel free to PM me anytime.
                avatar
                • Support Moderator

                    Reputation : 8
                    Registered on : 2014-03-11
                    Posts : 299
                    Helping on the forum
                  Archived



                  FMCodes Support Moderator

                  I am very active now! Feel free to PM me anytime.


                  YOUR BANNER HERE
                  728x90
                  DMCA.com Protection Status
                  Free forum | © PunBB | Free forum support | Contact | Report an abuse | Free forum