TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 362
  • Total: 363
  • tino

Article - New topic form (pre-formated topic)

Started by londonhogfan, April 20, 2006, 05:14:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thurnok

You will find that breaking up the closing TEXTAREA tag such as:

'... other stuff in echo statement... </text'.'area> ... more stuff';


will not be quite sufficient.  Go into your article again, and find your closing TEXTAREA tag.  It will probably look like: </text> the way you currently implimented it.  It's a peculiarity.

Instead, here's a way that works 100%:

$ta_tag = 'textarea';
// open textarea, put in stuff, close textarea
echo '<'.$ta_tag.'> ... stuff here... blah blah... </'.$ta_tag.'> ... more stuff';


Noam

Looks like it worked. Can't find any instance of </text> in the page it generated. Lots of </textarea> instances, though. I'm not sure what might cause it to insert a > into the middle of something that should be equivalent to:
echo '<h'.'r>'
So where did you see what you describe?

Thurnok

It's simply a peculiarity that can happen under various versions of php/mysql and TP/SMF.  If it works for you great, if not, I simply provided one that doesn't show the peculiarity on systems/configs that do in the other case.

Arkanthos

I seem to be having some issues with this. The form itself displays on the page perfectly, just as I made it, unfortunately when I go to click the submit button, nothing happens. And I mean nothing... no page load, no transmit, nothing...


/*
Noam's Notes:
0. Backslash every apostrophe in the big echo statement below.
1. Never, ever put in a closing textarea tag literally. It will screw up the article editor somethin' fierce. Use '</text'.'area>' instead.
*/
echo '
<p><b>Recruiting Requirements:</b><br /><br />

<p>All of these requirements must be fulfilled before applying, if they are not then your application will be deleted and any future applications will not be taken into consideration until the requirements are met.
<br /><br />
1.) Your character must be level 70 in order to apply, if you have not reached that level please do so before applying.<br />
2.) You do not need to have the Karazhan key, however, if you have not completed the key, please begin the quests immediately.<br />
3.) No previous raiding experience is required, however, it is highly desirable.<br />
4.) No AR gear set is required, however, you need to be prepared to acquire one as soon as possible.<br />
5.) You must have CT_RaidAssist, CT_RABossMods, and Ventrilo installed, these add-ons are required on all guild raids and play a vital roles in raid command and control.<br />
6.) There is no minimum age requirement, however maturity is a must, we are a very friendly group of people, however we do like to poke fun at each other quite often and vent chat can become slightly mature rated at times; if you are easily offended then Tyrænny might not be for you.<br /><br />
<p>Recruiting Procedure:<br /><br />

<p><b>Please follow these steps after submitting an application.</b><br /><br />

1.) The guild officers will review your application and determine if there is an opening in for your class.<br />
2.) Please wait for us to contact you in-game or via the contact information that you provided in your forum account regarding whether there is a need for your class.<br />
3.) If there is indeed an opening for your class, then a date for a trial run will be set up.<br />
4.) Once the trial run is completed, the guild officers will confer and decide whether to invite you into the guild.<br /><br />

<p><b>Guild Application:</b><br />
<form name="application">
    <p>Character Name:
      <input type="text" name="characterName" size="40">
      <br />
    Class:
    <input type="text" name="characterLevel" size="2">
    <br />
    Spec:           
    <input type="text" name="characterSpec1" size="2">
    -
    <input type="text" name="characterSpec2" size="2">
    -
    <input type="text" name="characterSpec3" size="2">
    <br />
    Unbuffed Arcane Resistance (Ar without auras, buffs or potions):
    <input type="text" name="charactterResistanceAR" size="3">
    <br />
    WoW Armory Link:
    <input type="text" name="characterArmory" size="40"><br />
Age: <input type="text" name="playerAge" size=2 /><br />
Occupation (if applicable): <input type="Text" name="playerOccupation" size="40" />
    <br />
      <br />
      <b>Completed Azeroth Instance Keys:</b><br />
      <br />
    Ubrs (Seal of Ascension):<br />
      <input type="radio" name="keysUBRS" value="Yes" />
      Yes, I have rmy UBRS key.<br />
      <input type="radio" checked="checked" name="keysUBRS" value="No" />
      No, I no I don\'t have my UBRS key.<br />
      Molten Core Attunement:<br />
      <input type="radio" name="keysMC" value="Yes" />
      Yes, I am MC attuned.<br />
      <input type="radio" checked="checked" name="keysMC" value="No" />
      No, I am not MC attuned.<br />
  Eternal Quintescence: <br />
      <input type="radio" name="keysEQ" value="Yes" />
      Yes, I have my Eternal Quintescence.<br />
      <input type="radio" checked="checked" name="keysEQ" value="No" />
      No, I don\'t have my Eternal Quintescence.<br />
      Onyxia Key(Drakesfire Amulet):<br />
      <input type="radio" name="keysOnyxia" value="Yes" />
      Yes, I have my Drakesfire Amulet.<br />
      <input type="radio" checked="checked" name="keysOnyxia" value="No" />
      No, I do not have my Drakesfire Amulet.
    <p><b>Completed Outlands Keys</b><br /><br />
      Hellfire Citadel:<br />
      <input type="radio" name="keysHC" value="Yes" />
      Yes, I have my Hellfire Citadel Key.<br />
      <input type="radio" checked="checked" name="keysOnyxia" value="No" />
      No, I do not have my Hellfire Citadel Key.<br />
  Reservoir Key:<br />
      <input type="radio" name="keysResevoir" value="Yes" />
      Yes, I have my Reservoir Key.<br />
      <input type="radio" checked="checked" name="keysResevoir" value="No" />
      No, I do not have my Reservoir Key.<br />
  Auchenai Crypts:<br />
      <input type="radio" name="keysAcuhenai" value="Yes" />
      Yes, I have my Auchenai Crypts key.<br />
      <input type="radio" checked="checked" name="keysAuchenai" value="No" />
      No, I do not have my Auchenai Crypts key.<br />
  Tempest Key:<br />
      <input type="radio" name="keysTempest" value="Yes" />
      Yes, I have my Tempest Key.<br />
      <input type="radio" checked="checked" name="keysTempest" value="No" />
      No, I do not have my Tempest Key.<br />
  Caverns of Time:<br />
      <input type="radio" name="keysCOT" value="Yes" />
      Yes, I have my Caverns of Time key.<br />
      <input type="radio" checked="checked" name="keysCOT" value="No" />
      No, I do not have my Caverns of Time key.<br />
  Arcatraz Key:<br />
      <input type="radio" name="keysArcatraz" value="Yes" />
      Yes, I have my Arcatraz Key.<br />
      <input type="radio" checked="checked" name="keysArcatraz" value="No" />
      No, I do not have my Arcatraz Key.<br />
  The Mark of Vashj:<br />
      <input type="radio" name="keysEye" value="Yes" />
      Yes, I have my Mark of Vashj.<br />
      <input type="radio" checked="checked" name="keysEye" value="No" />
      No, I do not have my Mark of Vashj.<br />
  Shattered Halls:<br />
      <input type="radio" name="keysHalls" value="Yes" />
      Yes, I have my Shattered Halls key.<br />
      <input type="radio" checked="checked" name="keysHalls" value="No" />
      No, I do not have my Shattered Halls key.<br />
  Karazhan:<br />
      <input type="radio" name="keysKarazhan" value="Yes" />
      Yes, I have my Karazhan key.<br />
      <input type="radio" checked="checked" name="keysKarazhan" value="No" />
      No, I do not have my Karazhan key.<br />
      Shadow Labyrinth:<br />
      <input type="radio" name="keysShadowLab" value="Yes" />
      Yes, I have my Shadow Labyrinth key.<br />
      <input type="radio" checked="checked" name="keysShadowLab" value="No" />
      No, I do not have my Shadow Labyrinth key. 
  <br /><br />
  Please list any other MMORPG gaming experience that you have:<br />
  <textarea rows="10" cols="80" name="otherMMORPG"></text'.'area>
  <br />
  Please state any previous WoW raiding experience that you have:<br />
  <textarea rows="10" cols="80" name="otherRaiding"></text'.'area>
  <br />
  Please list any other WoW guilds that you have been a part of and why you are no longer a part of them:<br />
  <textarea rows="10" cols="80" name="otherGuilds"></text'.'area>
  <br />
  Please state what you are looking for in a guild:<br />
  <textarea rows="10" cols="80" name="lookingFor"></text'.'area>
  <br />
  Please state why you are interested in Tyrænny:<br />
  <textarea rows="10" cols="80" name="interestSource"></text'.'area>
  <br />
  Please state how often you plan to raid and list the days and times that you are free to raid on; also, please list which days you are not able to raid on:<br />
  <textarea rows="10" cols="80" name="daysAvailable"></text'.'area>
  <br />
 
  </form>
<p>If at any point during the application process we determine that you were untruthful, your application will be deleted.

Thank you for your time, and best of luck to you.</p>

<form action="http://www.tyraenny.net/index.php?action=post;board=16.0" method="post" name="postmodify" id="postmodify" style="margin: 0;">
<input type="hidden" name="subject">
<input type="hidden" name="icon" id="icon" value="xx">
<input type="hidden" name="message">
<input type="hidden" name="sc" value="'.$context['session_id'].'">

<script>
function CompileForm()
{

  characterName=document.application.characterName.value;
  characterLevel=document.application.characterLevel.value;
  characterSpec1=document.application.characterSpec1.value;
  characterSpec2=document.application.characterSpec2.value;
  characterSpec3=document.application.characterSpec3.value;
  characterResistanceAR=document.application.characterResistanceAR.value;
  characterArmory=document.application.characterArmory.value;
  playerAge=document.application.playerAge.value;
  playerOccupation=document.application.playerOccupation.value;

  for(i=0,i<document.application.keysUBRS.length;c++)
     {
      if(document.application.keysUBRS[i].checked==true)
        {
           theone=i; break;
        }
     }
  if(theone==0){keysUBRS="yes";} else{keysUBRS="no";}

  for(i=0,i<document.application.keysMC.length;c++)
     {
      if(document.application.keysMC[i].checked==true)
        {
           theone=i; break;
        }
     }
  if(theone==0){keysMC="yes";} else{keysMC="no";}

  for(i=0,i<document.application.keysEQ.length;c++)
     {
      if(document.application.keysEQ[i].checked==true)
        {
           theone=i; break;
        }
     }
  if(theone==0){keysEQ="yes";} else{keysEQ="no";}

  for(i=0,i<document.application.keysOnyxia.length;c++)
     {
      if(document.application.keysOnyxia[i].checked==true)
        {
           theone=i; break;
        }
     }
  if(theone==0){keysOnyxia="yes";} else{keysOnyxia="no";}

  for(i=0,i<document.application.keysResevoir.length;c++)
     {
      if(document.application.keysResevoir[i].checked==true)
        {
           theone=i; break;
        }
     }
  if(theone==0){keysResevoir="yes";} else{keysResevoir="no";}

  for(i=0,i<document.application.keysAuchenai.length;c++)
     {
      if(document.application.keysAuchenai[i].checked==true)
        {
           theone=i; break;
        }
     }
  if(theone==0){keysAuchenai="yes";} else{keysAuchenai="no";}

  for(i=0,i<document.application.keysTempest.length;c++)
     {
      if(document.application.keysTempest[i].checked==true)
        {
           theone=i; break;
        }
     }
  if(theone==0){keysTempest="yes";} else{keysTempest="no";}

  for(i=0,i<document.application.keysCOT.length;c++)
     {
      if(document.application.keysCOT[i].checked==true)
        {
           theone=i; break;
        }
     }
  if(theone==0){keysCOT="yes";} else{keysCOT="no";}

  for(i=0,i<document.application.keysArcatraz.length;c++)
     {
      if(document.application.keysArcatraz[i].checked==true)
        {
           theone=i; break;
        }
     }
  if(theone==0){keysArcatraz="yes";} else{keysArcatraz="no";}

  for(i=0,i<document.application.keysEye.length;c++)
     {
      if(document.application.keysEye[i].checked==true)
        {
           theone=i; break;
        }
     }
  if(theone==0){keysEye="yes";} else{keysEye="no";}

  for(i=0,i<document.application.keysKarazhan.length;c++)
     {
      if(document.application.keysKarazhan[i].checked==true)
        {
           theone=i; break;
        }
     }
  if(theone==0){keysKarazhan="yes";} else{keysKarazhan="no";}

  for(i=0,i<document.application.keysShadowLab.length;c++)
     {
      if(document.application.keysShadowLab[i].checked==true)
        {
           theone=i; break;
        }
     }
  if(theone==0){keysShadowLab="yes";} else{keysShadowLab="no";}

  otherMMORPG=document.application.otherMMORPG.value;
  otherRaiding=document.application.otherRaiding.value;
  otherGuilds=document.application.otherGuilds.value;
  lookingFor=document.application.lookingFor.value;
  interestSource=document.application.interestSource.value;
  daysAvailable=document.application.daysAvailable.value;

  strCompiled=
    "[b]Character\'s Name:[/b] " + characterName + "\n\n" +
    "[b]Character\'s Level:[/b] " + characterLevel + "\n\n" +
    "[b]Character\'s Spec:[/b] " + characterSpec1 + "-" + characterSpec2 + "-" +characterSpec3 + "\n\n" +
    "[b]Character\'s Arcane Resistance:[/b] " + characterResistanceAR + "\n\n" +
    "[b]Character\'s Armory URL:[/b] " + characterArmory + "\n\n" +
    "[b]Character\'s Occupation (if applicable):[/b] " + characterOccupation + "\n\n" +
    "[b][u]Character\'s Azeroth Keys:[/u][/b] " +"\n\n\n" +
    "UBRS: " + keysUBRS + "\n" +
    "MC: " + keysMC + "\n" +
    "Eternal Quintescence: " + keysEQ + "\n" +
    "Onyxia: " + keysOnyxia + "\n\n" +
    "[b][u]Outlands Keys:[/u][/b]: "  + "\n\n" +
    "Coilfang Resevoir: " + keysResevoir + "\n" +
    "Acheunai Crypts: " + keysAcheunai + "\n" +
    "Tempest: " + keysTempest + "\n" +
    "Caverns of Time: " + keysCOT + "\n" +
    "The Arcatraz: " + keysArcatraz + "\n" +
    "The Mark of Vashj: " + keysEye + "\n" +
    "Karazhan: " + keysKarazhan + "\n" +
    "Shadow Labs: " + keysShadowLabs + "\n\n" +
    "[b][u]Other information[/u][/b]: " + "\n\n" +
    "Other MMORPG Experience:\n" + otherMMORPG + "\n\n" +
    "Previous Raiding Experience:\n" + otherRaiding + "\n\n" +
    "Previous Guilds:\n" + otherGuilds + "\n\n" +
    "What I\'m looking for in Tyraenny:\n" + lookingFor + "\n\n" +
    "How I heard about Tyraenny:\n" + interestSource + "\n\n" +
    "My raiding availability:\n" + daysAvailable;
 
  document.postmodify.subject.value="New Member Application: "+characterName;
  document.postmodify.message.value=strCompiled;
 
  document.postmodify.submit();
}
</script>

Click the button below, and you\'ll see a pre-formatted post on the member applications board, where you will still need to hit the Post button to actually apply.<br />
<input type="button" name="btnSubmit" value="Submit Application" onclick="CompileForm()">
</form>
';


I've checked the things that were obvious to me, and combed through all of the code but can't seem to find my error.

Arkanthos

Anyone have any ideas on what could be going wrong? I've tried working with the code and for some reason still can't get it to work.

Noam

Ideas:

1. If you have Firefox, learn to love the Error Console (Tools / Error Console). You may find some JavaScript errors with it. If you don't have Firefox, get it, or get something else that can debug JavaScript.

2. Simplify. My first form for our site (>99% derived from the previous code here) had just a couple of text inputs: no textareas, no radio buttons, etc. Make sure you can move just a couple of bits of data from the visible form to the hidden form to the preformatted post before jumping in with the whole thing. Once you've got a few fields, add a few more, and retest. Repeat until the whole form is working. If it works in the simpler cases, but fails as soon as you add code block X, then it'll help narrow down where the problem would be.

3. You've got some typos in your radio fields for instance keys, including an Onyxia key where an HC key should be and inconsistent spelling for the AC keys. This isn't a syntax problem, but may cause the form to misbehave or appear to change data from one form to the next. The logic on the radio buttons I worked from assumes exactly two radio buttons for a given name.

4. These types of lines probably won't iterate properly, and you may find an entry in the Error Console accordingly:
for(i=0,i<document.application.keysUBRS.length;c++)
Can't use i for the iteration variable, and then increment c. Well, you technically can, but it won't do what you'd normally want in C, and probably won't do what you want in JavaScript. These would cause infinite loops, and maybe the browser fails them after a set period of time?

Arkanthos

... why didn't I see that when I was looking through... I think it's something about being too close to the code.

Thanks a tun man, this has been bugging me forever, and I knew that it had to be something simple like that. I've fixed the syntax things you talked about above but hadn't updated the code here to reflect it.

pinegr05

Need some help with some code.  I have reduced the code to make a short form with 4 connected radio buttons.  I have been able to make every thing work except for giveing the correct results from the radio buttons.  The following is the complete code:

  /*
Noam's Notes:
0. Backslash every apostrophe in the big echo statement below.
1. Never, ever put in a closing textarea tag literally. It will screw up the article editor somethin' fierce. Use '</text'.'area>' instead.
*/
echo '
<form name="application">
    <p><font size="4" >P5 Daily Report<br /></font><br /></p>
    <p>Name: <input type="text" name="characterName" size="40"><br></p>
    <p>How did Machine run?<br /></p>
    <p><input type="radio" checked="checked" name="isMain" value="A" />"A" Shift<br />
    <input type="radio" name="isMain" value="B" />"B" Shift<br />
    <input type="radio" name="isMain" value="C" />"C" Shift<br />
    <input type="radio" name="isMain" value="D" />"D" Shift<br /></p>
    <p>General Info:<br>
    <textarea rows="10" cols="80" name="characterIntro"></text'.'area></p>
   
</form>
<p>Thank you for filling out and posting.</p>

<form action="http://www.p4.pinegrovebaptist-bayminette.org/index.php?action=post;board=6" method="post" name="postmodify" id="postmodify" style="margin: 0;">
<input type="hidden" name="subject">
<input type="hidden" name="icon" id="icon" value="xx">
<input type="hidden" name="message">
<input type="hidden" name="sc" value="'.$context['session_id'].'">

<script>
function CompileForm()
{

  characterName=document.application.characterName.value;

  for (i=0;i<document.application.isMain.length;i++){
    if (document.application.isMain[i].checked==true){theone=i; break;}
  }
  if (theone==0) { isMain="A";} else { isMain="B"; }

  characterIntro=document.application.characterIntro.value;

   

  strCompiled=
    "[b]Name:[/b] " + characterName + "\n\n" +
    "[b]Shift:[/b] " + isMain + "\n\n" +
    "[b]General Info:[/b]\n" + characterIntro + "\n\n";

  document.postmodify.subject.value="P5 Shift Report for "+characterName;
  document.postmodify.message.value=strCompiled;
 
  document.postmodify.submit();
}
</script>

<p>Select the button below, and you\'ll see a pre-formatted post on the P5 Daily Report board.  Hit the Post button to apply.<br></p>


<input type="button" name="btnSubmit" value="Submit Daily Report" onclick="CompileForm()">
</form>
';
 


The part of the code I am having problem with is the following:

for (i=0;i<document.application.isMain.length;i++){
    if (document.application.isMain[i].checked==true){theone=i; break;}
  }
  if (theone==0) { isMain="A";} else { isMain="B"; }


It will give me the A or B.  I am missing some code and can not figure out whait is needed.  I'm new to this and I am learning.

Thanks for any help.

PAPABEAR

Quote from: Omniverse on May 09, 2006, 06:52:22 PM
No, it doesnt register for you, just creates a standardized form for taking an app on a board. Keeps em all the same, and purdy :P




<div align='center'>
<body bgcolor='#666666'> 

<table>
<tr><td><font color="#FF0000">
Please fill out the Application completely.</font><br>
<br>

<form name='frmFill'>
<table>
<tr><td><font color="#FFFFCC">
Real first name: </td><td><input type='text' name='txtRealName' size='50' value=''></td>
</tr>
<tr><td><font color="#FFFFCC">
Age: </td><td><input type='text' name='txtAge' size='50' value=''></td>
</tr>
<tr><td><font color="#FFFFCC">
Location: </td><td><input type='text' name='txtLocation' size='50' value=''></td>
</tr>
<tr><td><font color="#FFFFCC">
Current status (RL): </td><td><input type='text' name='txtCStat' value='employed, school, etc...' size='50'></td>
</tr>
<tr><td><font color="#FFFFCC">
Main Character Name: </td><td><input type='text' name='txtMCName' size='50' value=''></td>
</tr>
<tr><td><font color="#FFFFCC">
Class: </td><td><input type='text' name='txtClass' size='50' value=''></td>
</tr>
<tr><td><font color="#FFFFCC">
Level: </td><td><input type='text' name='txtLevel' size='50' value=''></td>
</tr>
<tr><td><font color="#FFFFCC">
Playtime: </td><td><input type='text' name='txtPlaytime' size='50' value=''></td>
</tr>
<tr><td><font color="#FFFFCC">
Favored Classes: </td><td><input type='text' name='txtFavClass' size='50' value=''></td>
</tr>
<tr><td><font color="#FFFFCC">
D&D PnP Experience: </td><td><input type='text' name='txtPnPXP' size='50' value=''></td>
</tr>
<tr><td><font color="#FFFFCC">
MMO experience: </td><td><input type='text' name='txtMMOXP' size='50' value=''></td>
</tr></font>
</table>
<br /><font color="#FFFFCC">
Are you currently in a guild or have you previously been guilded? <input type='radio' name='optCPG' value='Yes' >Yes <input type='radio' name='optCPG' value='No' checked>No<br />
<br />
If yes why did/do you wish to leave that guild?<br />
<textarea class='editor' rows='5' cols='60' style='color: #800000' name='taExpGuildLeave'></textarea><br />
<br />
Referral:<br />
<textarea class='editor' rows='5' cols='60' style='color: #800000' name='taReferral'>
How did you hear about us? Website, a friend refer you? Please be descriptive, don't just give a name, tell us how you know them.
</textarea><br />
<hr />
<br />Please give descriptive responses with the following questions. Minimum 3 sentences each.<br /><br />

What are your goals in game?<br />
<textarea class='editor' rows='5' cols='60' style='color: #800000' name='taGoals'></textarea><br /><br />


Why do you want to Join Kindred Spirits?<br />
<textarea class='editor' rows='5' cols='60' style='color: #800000' name='taWhyJoin'></textarea><br /><br />

<hr />
(Optional) Other Comments: <br />
<textarea class='editor' rows='5' cols='60' style='color: #800000' name='taComments'></textarea><br /><br />


</form>


<br />
<form action='http://www.test.gaminghole.org/index.php?action=post;board=3.0' method='post' name='postmodify' target='_parent' id='postmodify' style='margin: 0;'>
<input type='hidden' name='subject'>
<input name='icon' id='icon' value='xx' type='hidden'>
<input type='hidden' name='message'>
<input type='hidden' name='sc' value='', $context['session_id'], '' />

</form>


<script>


function CompileForm()
{

strRFN=document.frmFill.txtRealName.value;
strAge=document.frmFill.txtAge.value;
strLoc=document.frmFill.txtLocation.value;
strCS=document.frmFill.txtCStat.value;
strMCN=document.frmFill.txtMCName.value;
strClass=document.frmFill.txtClass.value;
strLvl=document.frmFill.txtLevel.value;
strPlytm=document.frmFill.txtPlaytime.value;
strFavClass=document.frmFill.txtFavClass.value;
strPnPXp=document.frmFill.txtPnPXP.value;
strMMOXp=document.frmFill.txtMMOXP.value;
if(document.frmFill.optCPG[0].checked)
{
strOtherGuild=document.frmFill.optCPG[0].value;
}
else
{
strOtherGuild=document.frmFill.optCPG[1].value;
}
strGuildLeave=document.frmFill.taExpGuildLeave.value;
strRef=document.frmFill.taReferral.value;
strGoals=document.frmFill.taGoals.value;
strWhy=document.frmFill.taWhyJoin.value;
strComments=document.frmFill.taComments.value;


str1='Real first name: ';
str2='\nAge: ';
str3='\nLocation: ';
str4='\nCurrent status (RL): ';
str5='\nCharacter Name: ';
str6='\nClass: ';
str7='\nLevel: ';
str8='\nPlaytime: ';
str9='\nFavored Classes: ';
str10='\nD&D PnP Experience: ';
str11='\nMMO experience: ';
str12='\nAre you currently in a guild or have you previously been guilded?\n';
str13='\nWhy did/do you wish to leave that guild?\n';
str14='\n\nReferral:\n';
str15='\n\nWhat are your goals in game?\n';
str16='\n\nWhy do you want to Join Kindred Spirits?\n';
str17='\n\n(Optional) Other Comments:\n\n';

strPart1=str1+strRFN+str2+strAge+str3+strLoc+str4+strCS+str5+strMCN+str6+strClass+str7+strLvl+str8+strPlytm+str9+strFavClass+str10+strPnPXp+str11+strMMOXp+str12+strOtherGuild;
strPart2=str13+strGuildLeave;
strPart3=str14+strRef+str15+strGoals+str16+strWhy;
strPart4=str17+strComments;


strCompiled=strPart1+strPart2+strPart3+strPart4;

document.postmodify.subject.value=strMCN;
document.postmodify.message.value=strCompiled;

document.postmodify.submit();


}

</script>

</td></tr></table>
</div>
<div align='center'>
<font size="4" color="#FF0000"><span style="background-color: #000000">
<br />By submitting an Application with us, you are confirming you have read, and understand, the Guild Charter and Policies. If accepted as a recruit, you agree to abide by it, and any other guidelines we set.<br /><br /> </span></font>
<input type='button' name='btnSubmit' value='Submit' onclick='CompileForm()'>
<br /><font color="#FFFFCC">Once submitted, it will take you to a pre-formatted post on the member applications board, where you will still need to hit the post button. </font><br />
<br />

</div>




Thats the code I used. If you wish to try it, my test site:
http://www.test.gaminghole.org/index.php

test account: testhole/hole

As with most things like this, I put that code into an htm/php file (whatever you prefer), then call it to an iframe in an article.
You, of course, will also have to put in some work to modify it to your own application wants. :)


Your form works great. I have a flash form at http://www.theblackplagueonline.com/index.php?page=8 that I would love to have post the results in a forum like yours does.

I assume the code I need to edit is in my apply.xml file.

<?xml version="1.0" encoding="UTF-8"?>

<form url="apply.php"
window="_self"
method="POST"
fontname="MS Sans Serif"
width="655"
height="682"
bkcolor="0x000000"
outlinecolor="0xFF0000"
fontcolor="0x000000"
themecolor="0xC0C0C0"
fontcolor2="#FFFFFF"
bkcolor2="#000000"
includeresults="false"
emailuser="false"
reqmessage="One or More Fields are Required"
autoresponse=""
transition="0">

<hidden
name="thankyoupage"
value="http://www.theblackplagueonline.com/thanks.html"
></hidden>

<hidden
name="mailto"
value="applications;theblackplagueonline=com"
></hidden>

<hidden
name="subject"
value="Guild Application"
></hidden>

<image
image="guildapp.jpg"
x="25"
y="4"
></image>

<label
name="My Text 1"
x="32"
y="100"
w="50"
h="18"
text="Name:"
  fontname="Arial Black"
  fontcolor="0xFF0000"
  fontsize="13"
></label>

<label
name="My Text 2"
x="285"
y="102"
w="36"
h="18"
text="Age:"
  fontname="Arial Black"
  fontcolor="0xFF0000"
  fontsize="13"
></label>

<combobox
name="Age Drop Down"
x="334"
y="101"
bkcolor="0xFFFFFF"
fontcolor="0x000000"
isemail="false"
w="64"
h="20">
  <item name="17"></item>
  <item name="18"></item>
  <item name="19"></item>
  <item name="20"></item>
  <item name="21"></item>
  <item name="22"></item>
  <item name="23"></item>
  <item name="24"></item>
  <item name="25"></item>
  <item name="26"></item>
  <item name="27"></item>
  <item name="28"></item>
  <item name="29"></item>
  <item name="30"></item>
  <item name="31"></item>
  <item name="32"></item>
  <item name="33"></item>
  <item name="34"></item>
  <item name="35"></item>
  <item name="36"></item>
  <item name="37"></item>
  <item name="38"></item>
  <item name="39"></item>
  <item name="40"></item>
  <item name="41"></item>
  <item name="42"></item>
  <item name="43"></item>
  <item name="44"></item>
  <item name="45"></item>
  <item name="46"></item>
  <item name="47"></item>
  <item name="48"></item>
  <item name="49"></item>
  <item name="50"></item>
  <item name="51"></item>
  <item name="52"></item>
  <item name="53"></item>
  <item name="54"></item>
  <item name="55"></item>
  <item name="56"></item>
  <item name="57"></item>
  <item name="58"></item>
  <item name="59"></item>
  <item name="60"></item>
  <item name="61"></item>
  <item name="62"></item>
  <item name="63"></item>
  <item name="64"></item>
  <item name="65"></item>
</combobox>

<label
name="My Text 3"
x="31"
y="141"
w="127"
h="18"
text="Character Name:"
  fontname="Arial Black"
  fontcolor="0xFF0000"
  fontsize="13"
></label>

<label
name="My Text 4"
x="30"
y="180"
w="124"
h="18"
text="Character Class:"
  fontname="Arial Black"
  fontcolor="0xFF0000"
  fontsize="13"
></label>

<textinput
name="Name"
x="96"
y="100"
w="175"
h="22"
initvalue=""
bkcolor="0xFFFFFF"
  fontname="Arial"
  fontcolor="0x000000"
>
</textinput>

<textinput
name="Character Name"
x="172"
y="138"
w="175"
h="22"
initvalue=""
bkcolor="0xFFFFFF"
  fontname="Arial"
  fontcolor="0x000000"
>
</textinput>

<combobox
name="Character Class"
x="168"
y="179"
bkcolor="0xFFFFFF"
fontcolor="0x000000"
isemail="false"
w="136"
h="20">
  <item name="Select Class..."></item>
  <item name="Assassin"></item>
  <item name="Barbarian"></item>
  <item name="Bear Shaman"></item>
  <item name="Conqueror"></item>
  <item name="Dark Templar"></item>
  <item name="Demonologist"></item>
  <item name="Guardian"></item>
  <item name="Herald of Xotli"></item>
  <item name="Necromancer"></item>
  <item name="Priest of Mitra"></item>
  <item name="Ranger"></item>
  <item name="Tempest of Set"></item>
</combobox>

<label
name="My Text 5"
x="362"
y="141"
w="122"
h="18"
text="Character Race:"
  fontname="Arial Black"
  fontcolor="0xFF0000"
  fontsize="13"
></label>

<combobox
name="Character Race"
x="496"
y="140"
bkcolor="0xFFFFFF"
fontcolor="0x000000"
isemail="false"
w="135"
h="20">
  <item name="Select Race..."></item>
  <item name="Aquilonian"></item>
  <item name="Cimmerian"></item>
  <item name="Stygian"></item>
</combobox>

<label
name="My Text 6"
x="412"
y="102"
w="72"
h="18"
text="Location:"
  fontname="Arial Black"
  fontcolor="0xFF0000"
  fontsize="13"
></label>

<combobox
name="Location Drop Down"
x="495"
y="102"
bkcolor="0xFFFFFF"
fontcolor="0x000000"
isemail="false"
w="128"
h="20">
  <item name="Select Location..."></item>
  <item name="Alabama"></item>
  <item name="Alaska"></item>
  <item name="Arizona"></item>
  <item name="Arkansas"></item>
  <item name="California"></item>
  <item name="Colorado"></item>
  <item name="Connecticut"></item>
  <item name="Delaware"></item>
  <item name="Florida"></item>
  <item name="Georgia"></item>
  <item name="Hawaii"></item>
  <item name="Idaho"></item>
  <item name="Illinois"></item>
  <item name="Indiana"></item>
  <item name="Iowa"></item>
  <item name="Kansas"></item>
  <item name="Kentucky"></item>
  <item name="Louisiana"></item>
  <item name="Maine"></item>
  <item name="Maryland"></item>
  <item name="Massachusetts"></item>
  <item name="Michigan"></item>
  <item name="Minnesota"></item>
  <item name="Mississippi"></item>
  <item name="Missouri"></item>
  <item name="Montana"></item>
  <item name="Nebraska"></item>
  <item name="Nevada"></item>
  <item name="New Hampshire"></item>
  <item name="New Jersey"></item>
  <item name="New Mexico"></item>
  <item name="New York"></item>
  <item name="North Carolina"></item>
  <item name="North Dakota"></item>
  <item name="Ohio"></item>
  <item name="Oklahoma"></item>
  <item name="Oregon"></item>
  <item name="Pennsylvania"></item>
  <item name="Rhode Island"></item>
  <item name="South Carolina"></item>
  <item name="South Dakota"></item>
  <item name="Tennessee"></item>
  <item name="Texas"></item>
  <item name="Utah"></item>
  <item name="Vermont"></item>
  <item name="Virginia"></item>
  <item name="Washington"></item>
  <item name="West Virginia"></item>
  <item name="Wisconsin"></item>
  <item name="Wyoming"></item>
</combobox>

<label
name="My Text 7"
x="320"
y="180"
w="135"
h="18"
text="Character Trades:"
  fontname="Arial Black"
  fontcolor="0xFF0000"
  fontsize="13"
></label>

<textinput
name="Character Trades"
x="464"
y="179"
w="168"
h="22"
initvalue=""
bkcolor="0xFFFFFF"
  fontname="Arial"
  fontcolor="0x000000"
required="true"
>
</textinput>

<label
name="My Text 8"
x="29"
y="220"
w="317"
h="18"
text="Will you help the guild to gather resources?"
  fontname="Arial Black"
  fontcolor="0xFF0000"
  fontsize="13"
></label>

<combobox
name="gatherer"
x="360"
y="220"
bkcolor="0xFFFFFF"
fontcolor="0x000000"
isemail="false"
w="177"
h="20">
  <item name="Select One..."></item>
  <item name="I will help gather for the guild."></item>
  <item name="I will not help gather for the guild."></item>
</combobox>

<label
name="My Text 9"
x="28"
y="260"
w="595"
h="18"
text="We require voice for raids and such. Check the software you have installed below."
  fontname="Arial Black"
  fontcolor="0xFF0000"
  fontsize="13"
></label>

<checkbox
name="Ts Check Box"
x="43"
y="288"
w="83"
h="19"
label="Teamspeak"
labelPos="right"
value="checked"
fontbold="bold"
  fontsize="12"
  fontname="Arial"
  fontcolor="0xC0C0C0"
></checkbox>

<checkbox
name="Vent Check Box"
x="155"
y="288"
w="60"
h="19"
label="Ventrilo"
labelPos="right"
value="checked"
fontbold="bold"
  fontsize="12"
  fontname="Arial"
  fontcolor="0xC0C0C0"
></checkbox>

<checkbox
name="No Comms Check Box"
x="247"
y="288"
w="136"
h="19"
label="Will install as needed"
labelPos="right"
value="checked"
fontbold="bold"
  fontsize="12"
  fontname="Arial"
  fontcolor="0xC0C0C0"
></checkbox>

<checkbox
name="Comms Not Needed Check Box"
x="413"
y="288"
w="114"
h="19"
label="Voice not needed"
labelPos="right"
value="checked"
fontbold="bold"
  fontsize="12"
  fontname="Arial"
  fontcolor="0xC0C0C0"
></checkbox>

<label
name="My Text 10"
x="24"
y="391"
w="603"
h="18"
text="Please tell us about yourself, your gaming experience, and why you want to join us."
  fontname="Arial Black"
  fontcolor="0xFF0000"
  fontsize="13"
></label>

<textarea
name="About Myself Area"
x="28"
y="418"
w="597"
h="96"
initvalue="About me..."
wordwrap="true"
bkcolor="0xFFFFFF"
fontbold="bold"
  fontsize="12"
  fontname="Arial"
  fontcolor="0x000000"
></textarea>

<label
name="My Text 11"
x="28"
y="530"
w="110"
h="18"
text="Email Address:"
  fontname="Arial Black"
  fontcolor="0xFF0000"
  fontsize="13"
></label>

<textinput
name="email address"
x="151"
y="527"
w="271"
h="22"
initvalue=""
bkcolor="0xFFFFFF"
  fontname="Arial"
  fontcolor="0x000000"
required="true"
emailbox="true"
>
</textinput>

<label
name="My Text 12"
x="32"
y="581"
w="603"
h="18"
text="Finally, we would like to thank you for your interest in our guild. We will review your"
  fontname="Arial Black"
  fontcolor="0xFFFFFF"
  fontsize="13"
></label>

<label
name="My Text 13"
x="31"
y="601"
w="585"
h="18"
text="application as soon as possible. Please be patient as we are very busy preparing"
  fontname="Arial Black"
  fontcolor="0xFFFFFF"
  fontsize="13"
></label>

<label
name="My Text 14"
x="30"
y="621"
w="360"
h="18"
text="to wreak havoc on the server day in and day out. "
  fontname="Arial Black"
  fontcolor="0xFFFFFF"
  fontsize="13"
></label>

<label
name="My Text 15"
x="545"
y="648"
w="93"
h="18"
text="THE ELDERS"
  fontname="Arial Black"
  fontcolor="0xFF0000"
  fontsize="13"
></label>

<submitbutton
name="Submit Button 1"
x="524"
y="530"
w="100"
h="20"
label="Submit"
fontname="Arial"
fontcolor="0x000000"
  fontsize="12"
isbrowse="f"
></submitbutton>

<label
name="My Text 16"
x="26"
y="326"
w="528"
h="18"
text="Please check which aspect(s) of the game interests you the most below."
  fontname="Arial Black"
  fontcolor="0xFF0000"
  fontsize="13"
></label>

<checkbox
name="PvP Check Box"
x="38"
y="357"
w="38"
h="19"
label="PvP"
labelPos="right"
value="checked"
fontbold="bold"
  fontsize="12"
  fontname="Arial"
  fontcolor="0xC0C0C0"
></checkbox>

<checkbox
name="PvE Check Box"
x="104"
y="357"
w="37"
h="19"
label="PvE"
labelPos="right"
value="checked"
fontbold="bold"
  fontsize="12"
  fontname="Arial"
  fontcolor="0xC0C0C0"
></checkbox>

<checkbox
name="Economy Check Box"
x="166"
y="357"
w="68"
h="19"
label="Economy"
labelPos="right"
value="checked"
fontbold="bold"
  fontsize="12"
  fontname="Arial"
  fontcolor="0xC0C0C0"
></checkbox>

<checkbox
name="Politics Check Box"
x="258"
y="357"
w="58"
h="19"
label="Politics"
labelPos="right"
value="checked"
fontbold="bold"
  fontsize="12"
  fontname="Arial"
  fontcolor="0xC0C0C0"
></checkbox>

<checkbox
name="Raiding Check Box"
x="342"
y="357"
w="58"
h="19"
label="Raiding"
labelPos="right"
value="checked"
fontbold="bold"
  fontsize="12"
  fontname="Arial"
  fontcolor="0xC0C0C0"
></checkbox>

<checkbox
name="Grouping Check Box"
x="429"
y="357"
w="67"
h="19"
label="Grouping"
labelPos="right"
value="checked"
fontbold="bold"
  fontsize="12"
  fontname="Arial"
  fontcolor="0xC0C0C0"
></checkbox>

<checkbox
name="Other Check Box"
x="529"
y="357"
w="48"
h="19"
label="Other"
labelPos="right"
value="checked"
fontbold="bold"
  fontsize="12"
  fontname="Arial"
  fontcolor="0xC0C0C0"
></checkbox>

</form>


Does anybody have any idea what I would have to add to get it to post the results in a forum?

NYPDSwat

Am I doing something wrong here it wont go to the post stage  :-\

<div align='center'>
<body bgcolor='#666666'> 

<table>
<tr><td><font color="#FF0000">
Please fill out the Application completely.</font><br>
<br>

<form name='frmFill'>
<table>
<tr><td width="168"><font color="#FF0000">
Real first name: </td><td width="300"><input type='text' name='txtRealName' size='50' value=''></td>
</tr>
<tr><td><font color="#FF0000">
Age: </td><td><input type='text' name='txtAge' size='50' value=''></td>
</tr>
<tr><td><font color="#FF0000">
Location: </td><td><input type='text' name='txtLocation' size='50' value=''></td>
</tr>
<tr><td><font color="#FF0000">
Current status (RL): </td><td><input type='text' name='txtCStat' value='employed, school, etc...' size='50'></td>
</tr>
<tr>
  <td><font color="#FF0000">
In Game Name: </td>
  <td><input type='text' name='txtMCName' size='50' value=''></td>
</tr>
<tr>
  <td><font color="#FF0000">
Honor Level: </td>
  <td><input type='text' name='txtClass' size='50' value=''></td>
</tr>
<tr>
  <td><font color="#FF0000">
Time of Day You Play: </td><td><input type='text' name='txtPlaytime' size='50' value=''></td>
</tr>
<tr>
  <td><font color="#FF0000">
Favored Maps: </td><td><input type='text' name='txtFavClass' size='50' value=''></td>
</tr>
</table>
<br />
<font color="#FF0000">
Are you currently in a Clan or have you previously been Clan?
<input type='radio' name='optCPG' value='Yes' >Yes <input type='radio' name='optCPG' value='No' checked>No<br />
<br />
If yes why did/do you wish to leave that Clan?<br />
<textarea class='editor' rows='5' cols='60' style='color: #800000' name='taExpGuildLeave'></textarea><br />
<br />
Referral:<br />
<textarea class='editor' rows='5' cols='60' style='color: #800000' name='taReferral'>
How did you hear about us? Website, a friend refer you? Please be descriptive, don't just give a name, tell us how you know them.
</textarea><br />
<hr />
<br />
Please give descriptive responses with the following questions. <br />
<br />

What are your goals in game?<br />
<textarea class='editor' rows='5' cols='60' style='color: #800000' name='taGoals'></textarea><br /><br />


Why do you want to Join The Fast Moving Zombies?<br />
<textarea class='editor' rows='5' cols='60' style='color: #800000' name='taWhyJoin'></textarea><br /><br />

<hr />
(Optional) Other Comments: <br />
<textarea class='editor' rows='5' cols='60' style='color: #800000' name='taComments'></textarea><br /><br />


</form>


<br />
<form action='http://fastmovingzombies.clanservers.com/index.php?action=post;board=33.0' method='post' name='postmodify' target='_parent' id='postmodify' style='margin: 0;'>
<input type='hidden' name='subject'>
<input name='icon' id='icon' value='xx' type='hidden'>
<input type='hidden' name='message'>
<input type='hidden' name='sc' value='', $context['session_id'], '' />

</form>


<script>


function CompileForm()
{

strRFN=document.frmFill.txtRealName.value;
strAge=document.frmFill.txtAge.value;
strLoc=document.frmFill.txtLocation.value;
strCS=document.frmFill.txtCStat.value;
strMCN=document.frmFill.txtMCName.value;
strClass=document.frmFill.txtClass.value;
strLvl=document.frmFill.txtLevel.value;
strPlytm=document.frmFill.txtPlaytime.value;
strFavClass=document.frmFill.txtFavClass.value;
if(document.frmFill.optCPG[0].checked)
{
strOtherGuild=document.frmFill.optCPG[0].value;
}
else
{
strOtherGuild=document.frmFill.optCPG[1].value;
}
strGuildLeave=document.frmFill.taExpGuildLeave.value;
strRef=document.frmFill.taReferral.value;
strGoals=document.frmFill.taGoals.value;
strWhy=document.frmFill.taWhyJoin.value;
strComments=document.frmFill.taComments.value;


str1='Real first name: ';
str2='\nAge: ';
str3='\nLocation: ';
str4='\nCurrent status (RL): ';
str5='\nCharacter Name: ';
str6='\nClass: ';
str7='\nLevel: ';
str8='\nPlaytime: ';
str9='\nFavored Classes: ';
str10='\nAre you currently in a guild or have you previously been Clan?\n';
str11='\nWhy did/do you wish to leave that guild?\n';
str12='\n\nReferral:\n';
str13='\n\nWhat are your goals in game?\n';
str14='\n\nWhy do you want to Join The Fast Moving Zombies?\n';
str15='\n\n(Optional) Other Comments:\n\n';

strPart1=str1+strRFN+str2+strAge+str3+strLoc+str4+strCS+str5+strMCN+str6+strClass+str7++str8+strPlytm+str9+strFavClass+str10+strOtherGuild;
strPart2=str11+strGuildLeave;
strPart3=str12+strRef+str13+strGoals+str14+strWhy;
strPart4=str15+strComments;


strCompiled=strPart1+strPart2+strPart3+strPart4;

document.postmodify.subject.value=strMCN;
document.postmodify.message.value=strCompiled;

document.postmodify.submit();


}

</script>

</td></tr></table>
</div>
<div align='center'>
<font size="4" color="#FF0000"><span style="background-color: #000000">
<br />
By submitting an Application with us, you are confirming you have read, and understand, the Rules of Conduct. If accepted as a recruit, you agree to abide by it, and any other guidelines we set.<br />
<br /> </span></font>
<input type='button' name='btnSubmit' value='Submit' onclick='CompileForm()'>
<br /><font color="#FF0000">Once submitted, it will take you to a pre-formatted post on the member applications board, where you will still need to hit the post button. </font><br />
<br />

</div>



This website is proudly hosted on Crocweb Cloud Website Hosting.