37 users online (2 members and 35 guests)  


Page 1 of 2 1 2 Last
  Results 1 to 15 of 16

Related

  1. Replies: 1
  2. Creating a form with file submission    Forum: Website Scripts Forum
    Replies: 1
  3. Replies: 1
  4. Form to Doc file?    Forum: Website Scripts Forum
    Replies: 1
  5. HTML Newbie    Forum: HTML Forum
    Replies: 3
  1. #1
    davidscott's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2006
    Posts
    2

    html form to file (newbie)

    Sorry if this has already been posted and answered.
    I need help writing or a script that does the following. Takes an HTML text area form box data and saves it to a file on my linux server. I found a bunch that emails the form, but I want one that saves it to the server as a file. That way I can use the file in my BASh scripts.

    Thanks,
    David.

  2. #2
    netroact's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2006
    Posts
    19

    Re: html form to file (newbie)

    Do you want to store one entry per file, or several entries in one file?

  3. #3
    DeadMeatGF's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    381

    Re: html form to file (newbie)

    Sorry - wrong forum!
    Last edited by DeadMeatGF; 03-06-2006 at 07:41 AM.

  4. #4
    davidscott's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2006
    Posts
    2

    Re: html form to file (newbie)

    "Do you want to store one entry per file, or several entries in one file?"

    I don't care. I can make my bash scripts work both ways.

    Thanks,
    David

  5. #5
    netroact's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2006
    Posts
    19

    Re: html form to file (newbie)

    Here's a very basic function oriented script. It creates the file, and adds a line each time you submit from the textarea.
    Code:
    #!/usr/bin/perl
    use strict;
    use CGI qw/:standard/;
    #parse data from textarea
    my $foo = param("foo");
    #remove all returns and newlines and replace with 1 space 
    $foo =~ s/[\r\n]+/ /g;
    open(FILE, ">>file.txt") || die "can't write to file.txt $!";
    print FILE "$foo\n";
    close(FILE);
    print header(),
    start_html(-title=>'File Created'),
    'File created!',
    end_html();
    Of course you can create the file in another directory if you use the full absolute filepath.

  6. #6
    ed9498's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2008
    Posts
    6

    Re: html form to file (newbie)

    Hi Netroact,
    Can you tell me how I would get this script to retrieve data from my html form? Is there a certain command? I am trying to learn php etc. and I am clueless. Thanks.

  7. #7
    netroact's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2006
    Posts
    19

    Re: html form to file (newbie)

    Quote Originally Posted by ed9498 View Post
    Hi Netroact,
    Can you tell me how I would get this script to retrieve data from my html form? Is there a certain command? I am trying to learn php etc. and I am clueless. Thanks.
    This is the CGI/Perl forum. You should post this question in the PHP forum, if you are trying to learn PHP.
    Also, if would be much more helpful if you could be more specific. Do you have a form? Do you have a script? If so, please post the code. Wrap the code in code tags by clicking the # icon above.

  8. #8
    ed9498's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2008
    Posts
    6

    Re: html form to file (newbie)

    Oops, sorry. I suppose a CGI script would work just as well as PHP given that I know very little about either. I have an example html form (below) and I just need a script (like yours above) to tell it to post the data to a text file. Do I embed the CGI script within the form using a "hidden" command or do I create a separate file and tell the CGI script to read the data from the form?

    Code:
     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link rel="stylesheet" type="text/css" href="styles.css" />
    </head>
    <body bgcolor="#000000" text="#000000" link="#00FFFF" vlink="#006666" alink="#003333">
    <div id="center"> 
      <h1 align="center"><font color="#000000">Welcome</font></h1>
      <h2 align="center"><font color="#000000">Thank you for volunteering for our 
        study. Please answer the questions below as honestly as possible.</font></h2>
      <FORM ACTION="http://www.______.edu/cgi-bin/formfile.cgi?2file=data" METHOD="post">
        <font color="#000000"> 
        <input type="Hidden" name="next-url" value="http://www._____.edu/~ed9498/academicthankyou.html">
            <input type="Hidden" name="stampinfo" value="time_on">
        </font> 
        <table width="80%" border="1" cellpadding="1" cellspacing="1" bordercolor="#000000" bgcolor="#000000">
          <tr> 
            <td align="left" valign="top" bordercolor="#000000" bgcolor="#000000"> 
              <p>&nbsp;</p>
              <p><font color="#000000">1. <strong>What is your age?</strong> 
                <input name="age" type="text" id="age" size="6" maxlength="10">
                </font></p>
              <p><font color="#000000">2. <strong>What is your gender?</strong> </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="gender" value="">
                <input type="radio" name="gender" value="0">
                male </font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="gender" value="1">
                female</font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="gender" value="2">
                transgendered </font></p>
              <p><font color="#000000">3. <strong>What is your race/ethnicity? </strong></font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="ethnic" value="">
                <input type="radio" name="ethnic" value="1">
                African American/Black/African Origin</font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="ethnic" value="2">
                Asian American/Asian Origin/Pacific Islander </font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="ethnic" value="3">
                Latino(a)/Hispanic</font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="ethnic" value="4">
                Arab American/Arab/Middle Eastern</font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="ethnic" value="5">
                Native American </font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="ethnic" value="6">
                European Origin/White</font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="ethnic" value="7">
                Bi-racial/Multi-racial</font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="ethnic" value="8">
                Other 
                <input name="other" type="text" id="other1" size="30" maxlength="30">
                </font></p>
              <p><font color="#000000">4.<strong> Are you married? </strong></font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="marital" value="">
                <input type="radio" name="marital" value="1">
                yes </font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="marital" value="0">
                no </font></p>
              <p><font color="#000000">5.<strong> Do you have children? </strong></font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="children" value="">
                <input type="radio" name="children" value="1">
                yes </font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="children" value="0">
                no </font></p>
              <blockquote> 
                <p><font color="#000000"><strong>If so, how many?</strong> 
                  <input name="other4" type="text" id="other3" size="15" maxlength="15">
                  </font></p>
              </blockquote>
              <p><font color="#000000">6. <strong>What is the most advanced degree 
                you have earned?</strong></font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="degree" value="">
                <input type="radio" name="degree" value="0">
                Bachelor's degree</font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="degree" value="1">
                Master's degree</font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="degree" value="2">
                Ph.D.</font></p>
              <p><font color="#000000">
                <input type="radio" name="degree" value="3">
                Other 
                <input name="other10" type="text" id="other9" size="15" maxlength="30">
                </font></p>
              <p><font color="#000000">7. <strong>Please indicate your scientific 
                discipline/area of study (e.g., organic chemistry, astrophysics, clinical 
                psychology, etc.):</strong></font></p>
              <p><font color="#000000"><strong> 
                <input name="sciencetextfield" type="text" size="40" maxlength="40">
                </strong></font></p>
              <p><font color="#000000">8. <strong>For graduate students:</strong></font></p>
              <blockquote> 
                <p><font color="#000000"> a. <strong>Which degree program are you 
                  currently in?</strong></font></p>
                <p> <font color="#000000"> 
                  <input type="hidden" name="degreeprogram" value="">
                  <input type="radio" name="degreeprogram" value="0">
                  Master's degree</font></p>
                <p> <font color="#000000"> 
                  <input type="radio" name="degreeprogram" value="1">
                  Ph.D.</font></p>
                <p><font color="#000000">
                  <input type="radio" name="degreeprogram" value="2">
                  Other 
                  <input name="other24" type="text" id="other29" size="30" maxlength="30">
                  </font></p>
                <p><font color="#000000"> b. <strong>What is your year in training?</strong> 
                  <input name="other42" type="text" id="other55" size="15" maxlength="15">
                  </font></p>
              </blockquote>
              <p><font color="#000000">9. <strong>For faculty:</strong></font></p>
              <blockquote> 
                <p><font color="#000000">a. <strong>Do your responsibilities primarily 
                  consist of teaching or research?</strong></font></p>
                <p> <font color="#000000"> 
                  <input type="hidden" name="job" value="">
                  <input type="radio" name="job" value="0">
                  Teaching </font></p>
                <p> <font color="#000000"> 
                  <input type="radio" name="job" value="1">
                  Research </font></p>
                <p><font color="#000000">b. <strong>Are you tenured?</strong></font></p>
                <p> <font color="#000000"> 
                  <input type="hidden" name="tenure" value="">
                  <input type="radio" name="tenure" value="1">
                  yes </font></p>
                <p> <font color="#000000"> 
                  <input type="radio" name="tenure" value="0">
                  no</font></p>
                <p><font color="#000000">c. <strong>How much time has elapsed since 
                  receiving your master's degree?</strong></font></p>
                <p><font color="#000000">years 
                  <input name="time" type="text" id="year22" size="18" maxlength="18">
                  </font></p>
                <p><font color="#000000"> months (if less than 1 year) 
                  <input name="time1" type="text" id="year23" size="18" maxlength="18">
                  </font></p>
                <p><font color="#000000">d.<strong> How much time has elapsed since 
                  receiving your doctoral degree?</strong></font></p>
                <p><font color="#000000">years 
                  <input name="time2" type="text" id="year24" size="18" maxlength="18">
                  </font></p>
                <p><font color="#000000"> months (if less than 1 year) 
                  <input name="time3" type="text" id="year25" size="18" maxlength="18">
                  </font></p>
                <p align="left">&nbsp;</p>
                          </blockquote>
                 </table>
              <table width="80%" border="1" cellpadding="1" cellspacing="1" bordercolor="#000000" bgcolor="#000000">
          <tr> 
            <td align="left" valign="top"> 
              <h2>&nbsp;</h2>
              <h2><font color="#000000">Using the 5-point scale provided, please indicate 
                the degree to which you agree with each statement.</font></h2>
              <p><font color="#000000"><br>
                <strong>1. I conduct research to earn the respect of my colleagues.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q1" value="">
                1 
                <input type="radio" name="q1" value="1">
                2 
                <input type="radio" name="q1" value="2">
                3 
                <input type="radio" name="q1" value="3">
                4 
                <input type="radio" name="q1" value="4">
                5 
                <input type="radio" name="q1" value="5">
                </font></p>
              <p> <font color="#000000"><br>
                <strong>2. Research is sometimes boring to me. </strong></font></p>
              <p><font color="#000000"> (1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q2" value="">
                1 
                <input type="radio" name="q2" value="1">
                2 
                <input type="radio" name="q2" value="2">
                3 
                <input type="radio" name="q2" value="3">
                4 
                <input type="radio" name="q2" value="4">
                5 
                <input type="radio" name="q2" value="5">
                </font></p>
              <p> <font color="#000000"><strong><br>
                3 . I want to pursue less difficult research projects that I know 
                will guarantee a successful outcome.</strong></font></p>
              <p><font color="#000000"> (1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q159" value="">
                1 
                <input type="radio" name="q159" value="1">
                2 
                <input type="radio" name="q159" value="2">
                3 
                <input type="radio" name="q159" value="3">
                4 
                <input type="radio" name="q159" value="4">
                5 
                <input type="radio" name="q159" value="5">
                </font></p>
              <p><font color="#000000"><strong>4. I want to be recognized by my colleagues 
                as a competent researcher.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q160" value="">
                1 
                <input type="radio" name="q160" value="1">
                2 
                <input type="radio" name="q160" value="2">
                3 
                <input type="radio" name="q160" value="3">
                4 
                <input type="radio" name="q160" value="4">
                5 
                <input type="radio" name="q160" value="5">
                </font></p>
              <p><font color="#000000"><strong>5. When the preliminary results of 
                my research have not met my expectations, I want to &quot;cut my losses&quot; 
                and move on to the next project.</strong></font></p>
              <p><font color="#000000"> (1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q164" value="">
                1 
                <input type="radio" name="q164" value="1">
                2 
                <input type="radio" name="q164" value="2">
                3 
                <input type="radio" name="q164" value="3">
                4 
                <input type="radio" name="q164" value="4">
                5 
                <input type="radio" name="q164" value="5">
                </font></p>
              <p> <font color="#000000"><strong>6. When I find that a research project 
                is not progressing as I would like, I want to work harder.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q170" value="">
                1 
                <input type="radio" name="q170" value="1">
                2 
                <input type="radio" name="q170" value="2">
                3 
                <input type="radio" name="q170" value="3">
                4 
                <input type="radio" name="q170" value="4">
                5 
                <input type="radio" name="q170" value="5">
                </font></p>
              <p> <font color="#000000"><strong>7. I have little difficulty concentrating 
                when I知 involved in my research.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q171" value="">
                1 
                <input type="radio" name="q171" value="1">
                2 
                <input type="radio" name="q171" value="2">
                3 
                <input type="radio" name="q171" value="3">
                4 
                <input type="radio" name="q171" value="4">
                5 
                <input type="radio" name="q171" value="5">
                </font></p>
              <p> <font color="#000000"><strong>8. I have no desire to loaf around 
                when I am working on research.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q172" value="">
                1 
                <input type="radio" name="q172" value="1">
                2 
                <input type="radio" name="q172" value="2">
                3 
                <input type="radio" name="q172" value="3">
                4 
                <input type="radio" name="q172" value="4">
                5 
                <input type="radio" name="q172" value="5">
                </font></p>
              <p> <font color="#000000"><strong>9. I sometimes find it difficult to 
                disengage from a research activity I知 involved in.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q173" value="">
                1 
                <input type="radio" name="q173" value="1">
                2 
                <input type="radio" name="q173" value="2">
                3 
                <input type="radio" name="q173" value="3">
                4 
                <input type="radio" name="q173" value="4">
                5 
                <input type="radio" name="q173" value="5">
                </font></p>
              <p><font color="#000000"><strong>10. I am motivated to put more effort 
                into my research when I'm under increased stress.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q174" value="">
                1 
                <input type="radio" name="q174" value="1">
                2 
                <input type="radio" name="q174" value="2">
                3 
                <input type="radio" name="q174" value="3">
                4 
                <input type="radio" name="q174" value="4">
                5 
                <input type="radio" name="q174" value="5">
                </font></p>
              <p><font color="#000000"><strong>11. I conduct research for the joy 
                of it.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q179" value="">
                1 
                <input type="radio" name="q179" value="1">
                2 
                <input type="radio" name="q179" value="2">
                3 
                <input type="radio" name="q179" value="3">
                4 
                <input type="radio" name="q179" value="4">
                5 
                <input type="radio" name="q179" value="5">
                </font></p>
              <p><font color="#000000"><strong>12. I sometimes want to avoid difficult 
                research projects because I知 concerned that I may fail.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q181" value="">
                1 
                <input type="radio" name="q181" value="1">
                2 
                <input type="radio" name="q181" value="2">
                3 
                <input type="radio" name="q181" value="3">
                4 
                <input type="radio" name="q181" value="4">
                5 
                <input type="radio" name="q181" value="5">
                </font></p>
              <p><font color="#000000"><strong>13. I conduct research to improve my 
                occupational status.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q182" value="">
                1 
                <input type="radio" name="q182" value="1">
                2 
                <input type="radio" name="q182" value="2">
                3 
                <input type="radio" name="q182" value="3">
                4 
                <input type="radio" name="q182" value="4">
                5 
                <input type="radio" name="q182" value="5">
                </font></p>
              <p> <font color="#000000"><strong><br>
                14. I want to focus more of my energy on other research projects when 
                the current project I am working on is not progressing as expected. 
                </strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q183" value="">
                1 
                <input type="radio" name="q183" value="1">
                2 
                <input type="radio" name="q183" value="2">
                3 
                <input type="radio" name="q183" value="3">
                4 
                <input type="radio" name="q183" value="4">
                5 
                <input type="radio" name="q183" value="5">
                </font></p>
              <p><font color="#000000"><strong>15. Time seems to fly by when I知 
                conducting research.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q185" value="">
                1 
                <input type="radio" name="q185" value="1">
                2 
                <input type="radio" name="q185" value="2">
                3 
                <input type="radio" name="q185" value="3">
                4 
                <input type="radio" name="q185" value="4">
                5 
                <input type="radio" name="q185" value="5">
                </font></p>
              <p><font color="#000000"><strong>16. Conducting research provides me 
                with feelings of satisfaction.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q186" value="">
                1 
                <input type="radio" name="q186" value="1">
                2 
                <input type="radio" name="q186" value="2">
                3 
                <input type="radio" name="q186" value="3">
                4 
                <input type="radio" name="q186" value="4">
                5 
                <input type="radio" name="q186" value="5">
                </font></p>
              <p><font color="#000000"><strong>17. When a manuscript of mine has received 
                a negative review from a professor or journal editor, I want to withdraw 
                it from consideration for publication. </strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q192" value="">
                1 
                <input type="radio" name="q192" value="1">
                2 
                <input type="radio" name="q192" value="2">
                3 
                <input type="radio" name="q192" value="3">
                4 
                <input type="radio" name="q192" value="4">
                5 
                <input type="radio" name="q192" value="5">
                </font></p>
              <p><font color="#000000"><strong>18. I want to be recognized by my colleagues 
                for conducting sound research.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q194" value="">
                1 
                <input type="radio" name="q194" value="1">
                2 
                <input type="radio" name="q194" value="2">
                3 
                <input type="radio" name="q194" value="3">
                4 
                <input type="radio" name="q194" value="4">
                5 
                <input type="radio" name="q194" value="5">
                </font></p>
              <p><font color="#000000"><strong>19. I have a need to understand scientific 
                phenomena.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q199" value="">
                1 
                <input type="radio" name="q199" value="1">
                2 
                <input type="radio" name="q199" value="2">
                3 
                <input type="radio" name="q199" value="3">
                4 
                <input type="radio" name="q199" value="4">
                5 
                <input type="radio" name="q199" value="5">
                </font></p>
              <p><font color="#000000"><strong>20. I want to spend more time on my 
                research when it seems likely that it's not going to be finished by 
                a given deadline.</strong></font></p>
              <p><font color="#000000"> (1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q200" value="">
                1 
                <input type="radio" name="q200" value="1">
                2 
                <input type="radio" name="q200" value="2">
                3 
                <input type="radio" name="q200" value="3">
                4 
                <input type="radio" name="q200" value="4">
                5 
                <input type="radio" name="q200" value="5">
                </font></p>
              <p> <font color="#000000"><strong>21. I want to avoid difficult research 
                projects that might result in a negative outcome (e.g., lack of significant 
                findings, not accepted for publication, etc.).</strong></font></p>
              <p><font color="#000000"> (1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q201" value="">
                1 
                <input type="radio" name="q201" value="1">
                2 
                <input type="radio" name="q201" value="2">
                3 
                <input type="radio" name="q201" value="3">
                4 
                <input type="radio" name="q201" value="4">
                5 
                <input type="radio" name="q201" value="5">
                </font></p>
              <p> <font color="#000000"><strong>22. I enjoy doing research for its 
                own sake.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q202" value="">
                1 
                <input type="radio" name="q202" value="1">
                2 
                <input type="radio" name="q202" value="2">
                3 
                <input type="radio" name="q202" value="3">
                4 
                <input type="radio" name="q202" value="4">
                5 
                <input type="radio" name="q202" value="5">
                </font></p>
              <p><font color="#000000"><strong>23. My aim is to see research projects 
                through to their end even though some of my findings may be discouraging. 
                </strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q204" value="">
                1 
                <input type="radio" name="q204" value="1">
                2 
                <input type="radio" name="q204" value="2">
                3 
                <input type="radio" name="q204" value="3">
                4 
                <input type="radio" name="q204" value="4">
                5 
                <input type="radio" name="q204" value="5">
                </font></p>
              <p> <font color="#000000"><strong>24. I have a general feeling of well-being 
                when I知 involved in research.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q205" value="">
                1 
                <input type="radio" name="q205" value="1">
                2 
                <input type="radio" name="q205" value="2">
                3 
                <input type="radio" name="q205" value="3">
                4 
                <input type="radio" name="q205" value="4">
                5 
                <input type="radio" name="q205" value="5">
                </font></p>
              <p><font color="#000000"><strong>25. I want to receive awards for my 
                scientific accomplishments. </strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q207" value="">
                1 
                <input type="radio" name="q207" value="1">
                2 
                <input type="radio" name="q207" value="2">
                3 
                <input type="radio" name="q207" value="3">
                4 
                <input type="radio" name="q207" value="4">
                5 
                <input type="radio" name="q207" value="5">
                </font></p>
              <p><font color="#000000"><strong>26. Sometimes I feel like putting less 
                effort into my research when I know it's going to be evaluated by 
                colleagues or faculty.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q208" value="">
                1 
                <input type="radio" name="q208" value="1">
                2 
                <input type="radio" name="q208" value="2">
                3 
                <input type="radio" name="q208" value="3">
                4 
                <input type="radio" name="q208" value="4">
                5 
                <input type="radio" name="q208" value="5">
                </font></p>
              <p><font color="#000000"><strong>27. Research in and of itself is enjoyable 
                to me.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q209" value="">
                1 
                <input type="radio" name="q209" value="1">
                2 
                <input type="radio" name="q209" value="2">
                3 
                <input type="radio" name="q209" value="3">
                4 
                <input type="radio" name="q209" value="4">
                5 
                <input type="radio" name="q209" value="5">
                </font></p>
              <p><font color="#000000"><strong>28. I want to put more effort into 
                my research when I'm concerned that a project I am working on may 
                fail. </strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q212" value="">
                1 
                <input type="radio" name="q212" value="1">
                2 
                <input type="radio" name="q212" value="2">
                3 
                <input type="radio" name="q212" value="3">
                4 
                <input type="radio" name="q212" value="4">
                5 
                <input type="radio" name="q212" value="5">
                </font></p>
              <p><font color="#000000"><strong>29. I conduct research as a means of 
                achieving my financial goals. </strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q213" value="">
                1 
                <input type="radio" name="q213" value="1">
                2 
                <input type="radio" name="q213" value="2">
                3 
                <input type="radio" name="q213" value="3">
                4 
                <input type="radio" name="q213" value="4">
                5 
                <input type="radio" name="q213" value="5">
                </font></p>
              <p><font color="#000000"><strong>30. I do not want to waste time when 
                I am working on research for fear of getting behind schedule.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q20" value="">
                1 
                <input type="radio" name="q20" value="1">
                2 
                <input type="radio" name="q20" value="2">
                3 
                <input type="radio" name="q20" value="3">
                4 
                <input type="radio" name="q20" value="4">
                5 
                <input type="radio" name="q20" value="5">
                </font></p>
              <p><font color="#000000"><strong>31. I sometimes don't want to try as 
                hard on research projects when I know that my work is going to be 
                evaluated by colleagues or faculty.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q21" value="">
                1 
                <input type="radio" name="q21" value="1">
                2 
                <input type="radio" name="q21" value="2">
                3 
                <input type="radio" name="q21" value="3">
                4 
                <input type="radio" name="q21" value="4">
                5 
                <input type="radio" name="q21" value="5">
                </font></p>
              <p><font color="#000000"><strong>32. I want to leave my mark on my field.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q22" value="">
                1 
                <input type="radio" name="q22" value="1">
                2 
                <input type="radio" name="q22" value="2">
                3 
                <input type="radio" name="q22" value="3">
                4 
                <input type="radio" name="q22" value="4">
                5 
                <input type="radio" name="q22" value="5">
                </font></p>
              <p><font color="#000000"><strong>33. I sometimes want to give up when 
                my research is not proceeding as I would like. </strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q23" value="">
                1 
                <input type="radio" name="q23" value="1">
                2 
                <input type="radio" name="q23" value="2">
                3 
                <input type="radio" name="q23" value="3">
                4 
                <input type="radio" name="q23" value="4">
                5 
                <input type="radio" name="q23" value="5">
                </font></p>
              <p><font color="#000000"><strong>34. I love to learn new things through 
                research. </strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q24" value="">
                1 
                <input type="radio" name="q24" value="1">
                2 
                <input type="radio" name="q24" value="2">
                3 
                <input type="radio" name="q24" value="3">
                4 
                <input type="radio" name="q24" value="4">
                5 
                <input type="radio" name="q24" value="5">
                </font></p>
              <p><font color="#000000"><strong>35. I feel great pleasure when I've 
                learned something new in my area of research.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q25" value="">
                1 
                <input type="radio" name="q25" value="1">
                2 
                <input type="radio" name="q25" value="2">
                3 
                <input type="radio" name="q25" value="3">
                4 
                <input type="radio" name="q25" value="4">
                5 
                <input type="radio" name="q25" value="5">
                </font></p>
              <p><font color="#000000"><strong>36. The possibility that the outcome 
                of my research may be negative motivates me to work even harder.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q26" value="">
                1 
                <input type="radio" name="q26" value="1">
                2 
                <input type="radio" name="q26" value="2">
                3 
                <input type="radio" name="q26" value="3">
                4 
                <input type="radio" name="q26" value="4">
                5 
                <input type="radio" name="q26" value="5">
                </font></p>
              <p>&nbsp;</p>
              <p>&nbsp; </p> 
        </table>
        <table width="80%" border="1" cellpadding="1" cellspacing="1" bordercolor="#000000" bgcolor="#000000">
          <tr> 
            <td align="left" valign="top"> <p>&nbsp;</p>
              <p><font color="#000000" size="2"><strong>Using the 4-point scale provided, 
                please indicate the degree to which you agree with each statement.</strong></font></p>
              <p><font color="#000000"><strong>1. When I want something, I usually 
                go all-out to get it. </strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q215" value="">
                1 
                <input type="radio" name="q215" value="1">
                2 
                <input type="radio" name="q215" value="2">
                3 
                <input type="radio" name="q215" value="3">
                4 
                <input type="radio" name="q215" value="4">
                </font></p>
              <p><font color="#000000"><strong>2. I go out of my way to get things 
                I want.</strong> </font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q216" value="">
                1 
                <input type="radio" name="q216" value="1">
                2 
                <input type="radio" name="q216" value="2">
                3 
                <input type="radio" name="q216" value="3">
                4 
                <input type="radio" name="q216" value="4">
                </font></p>
              <p><font color="#000000"><strong>3. If I see a chance to get something 
                I want, I move on it right away.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q217" value="">
                1 
                <input type="radio" name="q217" value="1">
                2 
                <input type="radio" name="q217" value="2">
                3 
                <input type="radio" name="q217" value="3">
                4 
                <input type="radio" name="q217" value="4">
                </font></p>
              <p><font color="#000000"><strong>4. When I go after something I use 
                a &quot;no holds barred&quot; approach. </strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q218" value="">
                1 
                <input type="radio" name="q218" value="1">
                2 
                <input type="radio" name="q218" value="2">
                3 
                <input type="radio" name="q218" value="3">
                4 
                <input type="radio" name="q218" value="4">
                </font>
              <p><font color="#000000"><strong>5. If I think something unpleasant 
                is going to happen I usually get pretty &quot;worked up.&quot;</strong> 
                </font>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q219" value="">
                1 
                <input type="radio" name="q219" value="1">
                2 
                <input type="radio" name="q219" value="2">
                3 
                <input type="radio" name="q219" value="3">
                4 
                <input type="radio" name="q219" value="4">
                </font></p>
              <p><font color="#000000"><strong>6. I worry about making mistakes.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q220" value="">
                1 
                <input type="radio" name="q220" value="1">
                2 
                <input type="radio" name="q220" value="2">
                3 
                <input type="radio" name="q220" value="3">
                4 
                <input type="radio" name="q220" value="4">
                </font></p>
              <p><font color="#000000"><strong>7. Criticism or scolding hurts me quite 
                a bit.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q221" value="">
                1 
                <input type="radio" name="q221" value="1">
                2 
                <input type="radio" name="q221" value="2">
                3 
                <input type="radio" name="q221" value="3">
                4 
                <input type="radio" name="q221" value="4">
                </font></p>
              <p><font color="#000000"><strong>8. I feel pretty worried or upset when 
                I think or know somebody is angry at me.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q222" value="">
                1 
                <input type="radio" name="q222" value="1">
                2 
                <input type="radio" name="q222" value="2">
                3 
                <input type="radio" name="q222" value="3">
                4 
                <input type="radio" name="q222" value="4">
                </font>
              <p><font color="#000000"><strong>9. Even if something bad is about to 
                happen to me, I rarely experience fear or nervousness.</strong> </font>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q223" value="">
                1 
                <input type="radio" name="q223" value="1">
                2 
                <input type="radio" name="q223" value="2">
                3 
                <input type="radio" name="q223" value="3">
                4 
                <input type="radio" name="q223" value="4">
                </font></p>
              <p><font color="#000000"><strong>10. I feel worried when I think I have 
                done poorly at something.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q224" value="">
                1 
                <input type="radio" name="q224" value="1">
                2 
                <input type="radio" name="q224" value="2">
                3 
                <input type="radio" name="q224" value="3">
                4 
                <input type="radio" name="q224" value="4">
                </font></p>
              <p><font color="#000000"><strong>11. I have very few fears compared 
                to my friends.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q225" value="">
                1 
                <input type="radio" name="q225" value="1">
                2 
                <input type="radio" name="q225" value="2">
                3 
                <input type="radio" name="q225" value="3">
                4 
                <input type="radio" name="q225" value="4">
                </font></p>
              <p><font color="#000000"><strong>12. When I get something I want, I 
                feel excited and energized.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q226" value="">
                1 
                <input type="radio" name="q226" value="1">
                2 
                <input type="radio" name="q226" value="2">
                3 
                <input type="radio" name="q226" value="3">
                4 
                <input type="radio" name="q226" value="4">
                </font>
              <p><font color="#000000"><strong>13. When I'm doing well at something, 
                I love to keep at it.</strong> </font>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q227" value="">
                1 
                <input type="radio" name="q227" value="1">
                2 
                <input type="radio" name="q227" value="2">
                3 
                <input type="radio" name="q227" value="3">
                4 
                <input type="radio" name="q227" value="4">
                </font></p>
              <p><font color="#000000"><strong>14. When good things happen to me, 
                it affects me strongly.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q228" value="">
                1 
                <input type="radio" name="q228" value="1">
                2 
                <input type="radio" name="q228" value="2">
                3 
                <input type="radio" name="q228" value="3">
                4 
                <input type="radio" name="q228" value="4">
                </font></p>
              <p><font color="#000000"><strong>15. It would excite me to win a contest.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q229" value="">
                1 
                <input type="radio" name="q229" value="1">
                2 
                <input type="radio" name="q229" value="2">
                3 
                <input type="radio" name="q229" value="3">
                4 
                <input type="radio" name="q229" value="4">
                </font></p>
              <p><font color="#000000"><strong>16. When I see an opportunity for something 
                I like, I get excited right away.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q230" value="">
                1 
                <input type="radio" name="q230" value="1">
                2 
                <input type="radio" name="q230" value="2">
                3 
                <input type="radio" name="q230" value="3">
                4 
                <input type="radio" name="q230" value="4">
                </font>
              <p>&nbsp; 
        </table>
        <table width="80%" border="1" cellpadding="1" cellspacing="1" bordercolor="#000000" bgcolor="#000000">
          <tr> 
            <td align="left" valign="top"> <h2>&nbsp;</h2>
              <h2><font color="#000000">Please indicate the degree to which you agree 
                with each of the following statements as a description of the kind 
                of person you think you are most of the time. </font></h2>
              <p><font color="#000000"><strong>1. I tend to put things off until the 
                last moment.</strong></font></p>
              <p><font color="#000000">(1=disagree very much, 6=agree very much) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q231" value="">
                1 
                <input type="radio" name="q231" value="1">
                2 
                <input type="radio" name="q231" value="2">
                3 
                <input type="radio" name="q231" value="3">
                4 
                <input type="radio" name="q231" value="4">
                5 
                <input type="radio" name="q231" value="5">
                6 
                <input type="radio" name="q231" value="6">
                </font></p>
              <p><font color="#000000"><strong>2. I suppose I feel &quot;under the 
                weather&quot; more often than most people.</strong></font></p>
              <p><font color="#000000">(1=disagree very much, 6=agree very much) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q232" value="">
                1 
                <input type="radio" name="q232" value="1">
                2 
                <input type="radio" name="q232" value="2">
                3 
                <input type="radio" name="q232" value="3">
                4 
                <input type="radio" name="q232" value="4">
                5 
                <input type="radio" name="q232" value="5">
                6 
                <input type="radio" name="q232" value="6">
                </font></p>
              <p><font color="#000000"><strong>3. I always try to do my best, no matter 
                what.</strong></font></p>
              <p><font color="#000000">(1=disagree very much, 6=agree very much) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q233" value="">
                1 
                <input type="radio" name="q233" value="1">
                2 
                <input type="radio" name="q233" value="2">
                3 
                <input type="radio" name="q233" value="3">
                4 
                <input type="radio" name="q233" value="4">
                5 
                <input type="radio" name="q233" value="5">
                6 
                <input type="radio" name="q233" value="6">
                </font></p>
              <p><font color="#000000"><strong>4. I am easily distracted by noises 
                or my own creative thoughts when I try to read.</strong></font></p>
              <p><font color="#000000">(1=disagree very much, 6=agree very much) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q234" value="">
                1 
                <input type="radio" name="q234" value="1">
                2 
                <input type="radio" name="q234" value="2">
                3 
                <input type="radio" name="q234" value="3">
                4 
                <input type="radio" name="q234" value="4">
                5 
                <input type="radio" name="q234" value="5">
                6 
                <input type="radio" name="q234" value="6">
                </font></p>
              <p><font color="#000000"><strong>5. I try not to get too intensely involved 
                in competitive activities so it won't hurt too much if I lose or do 
                poorly.</strong></font></p>
              <p><font color="#000000">(1=disagree very much, 6=agree very much) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q235" value="">
                1 
                <input type="radio" name="q235" value="1">
                2 
                <input type="radio" name="q235" value="2">
                3 
                <input type="radio" name="q235" value="3">
                4 
                <input type="radio" name="q235" value="4">
                5 
                <input type="radio" name="q235" value="5">
                6 
                <input type="radio" name="q235" value="6">
                </font></p>
              <p><font color="#000000"><strong>6. I would do a lot better if I tried 
                harder.</strong></font></p>
              <p><font color="#000000">(1=disagree very much, 6=agree very much) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q236" value="">
                1 
                <input type="radio" name="q236" value="1">
                2 
                <input type="radio" name="q236" value="2">
                3 
                <input type="radio" name="q236" value="3">
                4 
                <input type="radio" name="q236" value="4">
                5 
                <input type="radio" name="q236" value="5">
                6 
                <input type="radio" name="q236" value="6">
                </font></p>
              <p> <font color="#000000"><strong>7. I sometimes enjoy being mildly 
                ill for a day or two because it takes off the pressure.</strong></font></p>
              <p><font color="#000000">(1=disagree very much, 6=agree very much) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q237" value="">
                1 
                <input type="radio" name="q237" value="1">
                2 
                <input type="radio" name="q237" value="2">
                3 
                <input type="radio" name="q237" value="3">
                4 
                <input type="radio" name="q237" value="4">
                5 
                <input type="radio" name="q237" value="5">
                6 
                <input type="radio" name="q237" value="6">
                </font></p>
              <p><font color="#000000"><strong>8. I admit that I am tempted to rationalize 
                when I don't live up to others' expectations.</strong></font></p>
              <p><font color="#000000">(1=disagree very much, 6=agree very much) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q238" value="">
                1 
                <input type="radio" name="q238" value="1">
                2 
                <input type="radio" name="q238" value="2">
                3 
                <input type="radio" name="q238" value="3">
                4 
                <input type="radio" name="q238" value="4">
                5 
                <input type="radio" name="q238" value="5">
                6 
                <input type="radio" name="q238" value="6">
                </font></p>
              <p> <font color="#000000"><strong>9. I overindulge in food and drink 
                more often than I should.</strong></font></p>
              <p><font color="#000000">(1=disagree very much, 6=agree very much) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q239" value="">
                1 
                <input type="radio" name="q239" value="1">
                2 
                <input type="radio" name="q239" value="2">
                3 
                <input type="radio" name="q239" value="3">
                4 
                <input type="radio" name="q239" value="4">
                5 
                <input type="radio" name="q239" value="5">
                6 
                <input type="radio" name="q239" value="6">
                </font></p>
              <p><font color="#000000"><strong>10. I tend to make excuses when I do 
                something wrong.</strong></font></p>
              <p><font color="#000000">(1=disagree very much, 6=agree very much) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q240" value="">
                1 
                <input type="radio" name="q240" value="1">
                2 
                <input type="radio" name="q240" value="2">
                3 
                <input type="radio" name="q240" value="3">
                4 
                <input type="radio" name="q240" value="4">
                5 
                <input type="radio" name="q240" value="5">
                6 
                <input type="radio" name="q240" value="6">
                </font></p>
              <p>&nbsp; </p> 
        </table>
        <table width="80%" border="1" cellpadding="1" cellspacing="1" bordercolor="#000000" bgcolor="#000000">
          <tr> 
            <td align="left" valign="top"><p>&nbsp;</p>
              <p><font color="#000000"><strong><font size="2">Using the 4-point scale 
                provided, please indicate the degree to which you agree with each 
                statement.</font></strong></font></p>
              <p><font color="#000000"><strong>1. I am afraid of failing in somewhat 
                difficult situations, when a lot depends on me.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q241" value="">
                1 
                <input type="radio" name="q241" value="1">
                2 
                <input type="radio" name="q241" value="2">
                3 
                <input type="radio" name="q241" value="3">
                4 
                <input type="radio" name="q241" value="4">
                </font></p>
              <p><font color="#000000"><strong>2. I feel uneasy to do something if 
                I am not sure of succeeding. </strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q242" value="">
                1 
                <input type="radio" name="q242" value="1">
                2 
                <input type="radio" name="q242" value="2">
                3 
                <input type="radio" name="q242" value="3">
                4 
                <input type="radio" name="q242" value="4">
                </font></p>
              <p><font color="#000000"><strong>3. Even if nobody would notice my failure, 
                I'm afraid of tasks which I'm not able to solve.</strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q243" value="">
                1 
                <input type="radio" name="q243" value="1">
                2 
                <input type="radio" name="q243" value="2">
                3 
                <input type="radio" name="q243" value="3">
                4 
                <input type="radio" name="q243" value="4">
                </font></p>
              <p><font color="#000000"><strong>4. Even if nobody is watching, I feel 
                quite anxious in new situations. </strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q244" value="">
                1 
                <input type="radio" name="q244" value="1">
                2 
                <input type="radio" name="q244" value="2">
                3 
                <input type="radio" name="q244" value="3">
                4 
                <input type="radio" name="q244" value="4">
                </font></p>
              <p><font color="#000000"><strong>5. If I do not understand a problem 
                immediately I start feeling anxious. </strong></font></p>
              <p><font color="#000000">(1=strongly disagree, 4=strongly agree)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q245" value="">
                1 
                <input type="radio" name="q245" value="1">
                2 
                <input type="radio" name="q245" value="2">
                3 
                <input type="radio" name="q245" value="3">
                4 
                <input type="radio" name="q245" value="4">
                </font></p>
              <p>&nbsp; </p> 
        </table>
        <table width="80%" border="1" cellpadding="1" cellspacing="1" bordercolor="#000000" bgcolor="#000000">
          <tr> 
            <td align="left" valign="top"> <h2>&nbsp;</h2>
              <h2><font color="#000000">Using the scale below, indicate to what extent each of the following items presently corresponds 
                to one of the reasons why you go to college. For post-graduate participants, 
                please reflect upon the reasons why you <em>went </em>to college.</font></h2>
              <p><font color="#000000"><strong>Why do you (did you) go to college?</strong></font></p>
              <p><font color="#000000"><strong>1. Because with only a high school 
                degree I would not find a high-paying job later on.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q246" value="">
                1 
                <input type="radio" name="q246" value="1">
                2 
                <input type="radio" name="q246" value="2">
                3 
                <input type="radio" name="q246" value="3">
                4 
                <input type="radio" name="q246" value="4">
                5 
                <input type="radio" name="q246" value="5">
                6 
                <input type="radio" name="q246" value="6">
                7 
                <input type="radio" name="q246" value="7">
                </font></p>
              <p><font color="#000000"><strong>2. Because I experience pleasure and 
                satisfaction while learning new things.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q247" value="">
                1 
                <input type="radio" name="q247" value="1">
                2 
                <input type="radio" name="q247" value="2">
                3 
                <input type="radio" name="q247" value="3">
                4 
                <input type="radio" name="q247" value="4">
                5 
                <input type="radio" name="q247" value="5">
                6 
                <input type="radio" name="q247" value="6">
                7 
                <input type="radio" name="q247" value="7">
                </font></p>
              <p><font color="#000000"><strong>3. Because I think that a college education 
                will help me better prepare for the career I have chosen.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q248" value="">
                1 
                <input type="radio" name="q248" value="1">
                2 
                <input type="radio" name="q248" value="2">
                3 
                <input type="radio" name="q248" value="3">
                4 
                <input type="radio" name="q248" value="4">
                5 
                <input type="radio" name="q248" value="5">
                6 
                <input type="radio" name="q248" value="6">
                7 
                <input type="radio" name="q248" value="7">
                </font></p>
              <p> <font color="#000000"><strong>4.For the intense feelings I experience 
                when I am communicating my own ideas to others.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q249" value="">
                1 
                <input type="radio" name="q249" value="1">
                2 
                <input type="radio" name="q249" value="2">
                3 
                <input type="radio" name="q249" value="3">
                4 
                <input type="radio" name="q249" value="4">
                5 
                <input type="radio" name="q249" value="5">
                6 
                <input type="radio" name="q249" value="6">
                7 
                <input type="radio" name="q249" value="7">
                </font></p>
              <p><font color="#000000"><strong>5. Honestly, I don't know; I really 
                feel that I am wasting my time in school. </strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q250" value="">
                1 
                <input type="radio" name="q250" value="1">
                2 
                <input type="radio" name="q250" value="2">
                3 
                <input type="radio" name="q250" value="3">
                4 
                <input type="radio" name="q250" value="4">
                5 
                <input type="radio" name="q250" value="5">
                6 
                <input type="radio" name="q250" value="6">
                7 
                <input type="radio" name="q250" value="7">
                </font></p>
              <p><font color="#000000"><strong>6. For the pleasure I experience while 
                surpassing myself in my studies. </strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q251" value="">
                1 
                <input type="radio" name="q251" value="1">
                2 
                <input type="radio" name="q251" value="2">
                3 
                <input type="radio" name="q251" value="3">
                4 
                <input type="radio" name="q251" value="4">
                5 
                <input type="radio" name="q251" value="5">
                6 
                <input type="radio" name="q251" value="6">
                7 
                <input type="radio" name="q251" value="7">
                </font></p>
              <p><font color="#000000"><strong>7. To prove to myself that I am capable 
                of completing my college degree. </strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q252" value="">
                1 
                <input type="radio" name="q252" value="1">
                2 
                <input type="radio" name="q252" value="2">
                3 
                <input type="radio" name="q252" value="3">
                4 
                <input type="radio" name="q252" value="4">
                5 
                <input type="radio" name="q252" value="5">
                6 
                <input type="radio" name="q252" value="6">
                7 
                <input type="radio" name="q252" value="7">
                </font></p>
              <p><font color="#000000"><strong>8. In order to obtain a more prestigious 
                job later on. </strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q253" value="">
                1 
                <input type="radio" name="q253" value="1">
                2 
                <input type="radio" name="q253" value="2">
                3 
                <input type="radio" name="q253" value="3">
                4 
                <input type="radio" name="q253" value="4">
                5 
                <input type="radio" name="q253" value="5">
                6 
                <input type="radio" name="q253" value="6">
                7 
                <input type="radio" name="q253" value="7">
                </font></p>
              <p><font color="#000000"><strong>9. For the pleasure I experience when 
                I discover new things never seen before. </strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q254" value="">
                1 
                <input type="radio" name="q254" value="1">
                2 
                <input type="radio" name="q254" value="2">
                3 
                <input type="radio" name="q254" value="3">
                4 
                <input type="radio" name="q254" value="4">
                5 
                <input type="radio" name="q254" value="5">
                6 
                <input type="radio" name="q254" value="6">
                7 
                <input type="radio" name="q254" value="7">
                </font></p>
              <p><font color="#000000"><strong>10. Because eventually it will enable 
                me to enter the job market in a field that I like. </strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q255" value="">
                1 
                <input type="radio" name="q255" value="1">
                2 
                <input type="radio" name="q255" value="2">
                3 
                <input type="radio" name="q255" value="3">
                4 
                <input type="radio" name="q255" value="4">
                5 
                <input type="radio" name="q255" value="5">
                6 
                <input type="radio" name="q255" value="6">
                7 
                <input type="radio" name="q255" value="7">
                </font></p>
              <p><font color="#000000"><strong>11. For the pleasure that I experience 
                when I read interesting authors. </strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q256" value="">
                1 
                <input type="radio" name="q256" value="1">
                2 
                <input type="radio" name="q256" value="2">
                3 
                <input type="radio" name="q256" value="3">
                4 
                <input type="radio" name="q256" value="4">
                5 
                <input type="radio" name="q256" value="5">
                6 
                <input type="radio" name="q256" value="6">
                7 
                <input type="radio" name="q256" value="7">
                </font></p>
              <p><font color="#000000"><strong>12. I once had good reasons for going 
                to college; however, now I wonder whether I should continue. </strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q257" value="">
                1 
                <input type="radio" name="q257" value="1">
                2 
                <input type="radio" name="q257" value="2">
                3 
                <input type="radio" name="q257" value="3">
                4 
                <input type="radio" name="q257" value="4">
                5 
                <input type="radio" name="q257" value="5">
                6 
                <input type="radio" name="q257" value="6">
                7 
                <input type="radio" name="q257" value="7">
                </font></p>
              <p><font color="#000000"><strong>13. For the pleasure that I experience 
                while I am surpassing myself in one of my accomplishments. </strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q258" value="">
                1 
                <input type="radio" name="q258" value="1">
                2 
                <input type="radio" name="q258" value="2">
                3 
                <input type="radio" name="q258" value="3">
                4 
                <input type="radio" name="q258" value="4">
                5 
                <input type="radio" name="q258" value="5">
                6 
                <input type="radio" name="q258" value="6">
                7 
                <input type="radio" name="q258" value="7">
                </font></p>
              <p><font color="#000000"><strong>14. Because of the fact that when I 
                succeed in college I feel important.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q259" value="">
                1 
                <input type="radio" name="q259" value="1">
                2 
                <input type="radio" name="q259" value="2">
                3 
                <input type="radio" name="q259" value="3">
                4 
                <input type="radio" name="q259" value="4">
                5 
                <input type="radio" name="q259" value="5">
                6 
                <input type="radio" name="q259" value="6">
                7 
                <input type="radio" name="q259" value="7">
                </font></p>
              <p><font color="#000000"><strong>15. Because I want to have &quot;the 
                good life&quot; later on.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q260" value="">
                1 
                <input type="radio" name="q260" value="1">
                2 
                <input type="radio" name="q260" value="2">
                3 
                <input type="radio" name="q260" value="3">
                4 
                <input type="radio" name="q260" value="4">
                5 
                <input type="radio" name="q260" value="5">
                6 
                <input type="radio" name="q260" value="6">
                7 
                <input type="radio" name="q260" value="7">
                </font></p>
              <p><font color="#000000"><strong>16. For the pleasure that I experience 
                in broadening my knowledge about subjects which appeal to me.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q261" value="">
                1 
                <input type="radio" name="q261" value="1">
                2 
                <input type="radio" name="q261" value="2">
                3 
                <input type="radio" name="q261" value="3">
                4 
                <input type="radio" name="q261" value="4">
                5 
                <input type="radio" name="q261" value="5">
                6 
                <input type="radio" name="q261" value="6">
                7 
                <input type="radio" name="q261" value="7">
                </font></p>
              <p><font color="#000000"><strong>17. Because this will help me make 
                a better choice regarding my career orientation.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q262" value="">
                1 
                <input type="radio" name="q262" value="1">
                2 
                <input type="radio" name="q262" value="2">
                3 
                <input type="radio" name="q262" value="3">
                4 
                <input type="radio" name="q262" value="4">
                5 
                <input type="radio" name="q262" value="5">
                6 
                <input type="radio" name="q262" value="6">
                7 
                <input type="radio" name="q262" value="7">
                </font></p>
              <p><font color="#000000"><strong>18. For the pleasure that I experience 
                when I feel completely absorbed by what certain authors have written.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q263" value="">
                1 
                <input type="radio" name="q263" value="1">
                2 
                <input type="radio" name="q263" value="2">
                3 
                <input type="radio" name="q263" value="3">
                4 
                <input type="radio" name="q263" value="4">
                5 
                <input type="radio" name="q263" value="5">
                6 
                <input type="radio" name="q263" value="6">
                7 
                <input type="radio" name="q263" value="7">
                </font></p>
              <p><font color="#000000"><strong>19. I can't see why I go to college 
                and frankly, I couldn't care less.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q264" value="">
                1 
                <input type="radio" name="q264" value="1">
                2 
                <input type="radio" name="q264" value="2">
                3 
                <input type="radio" name="q264" value="3">
                4 
                <input type="radio" name="q264" value="4">
                5 
                <input type="radio" name="q264" value="5">
                6 
                <input type="radio" name="q264" value="6">
                7 
                <input type="radio" name="q264" value="7">
                </font></p>
              <p><font color="#000000"><strong>20. For the satisfaction I feel when 
                I am in the process of accomplishing difficult academic activities.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q265" value="">
                1 
                <input type="radio" name="q265" value="1">
                2 
                <input type="radio" name="q265" value="2">
                3 
                <input type="radio" name="q265" value="3">
                4 
                <input type="radio" name="q265" value="4">
                5 
                <input type="radio" name="q265" value="5">
                6 
                <input type="radio" name="q265" value="6">
                7 
                <input type="radio" name="q265" value="7">
                </font></p>
              <p><font color="#000000"><strong>21. To show myself that I am an intelligent 
                person.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q266" value="">
                1 
                <input type="radio" name="q266" value="1">
                2 
                <input type="radio" name="q266" value="2">
                3 
                <input type="radio" name="q266" value="3">
                4 
                <input type="radio" name="q266" value="4">
                5 
                <input type="radio" name="q266" value="5">
                6 
                <input type="radio" name="q266" value="6">
                7 
                <input type="radio" name="q266" value="7">
                </font></p>
              <p><font color="#000000"><strong>22. In order to have a better salary 
                later on.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q267" value="">
                1 
                <input type="radio" name="q267" value="1">
                2 
                <input type="radio" name="q267" value="2">
                3 
                <input type="radio" name="q267" value="3">
                4 
                <input type="radio" name="q267" value="4">
                5 
                <input type="radio" name="q267" value="5">
                6 
                <input type="radio" name="q267" value="6">
                7 
                <input type="radio" name="q267" value="7">
                </font></p>
              <p><font color="#000000"><strong>23. Because my studies allow me to 
                continue to learn about many things that interest me.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q268" value="">
                1 
                <input type="radio" name="q268" value="1">
                2 
                <input type="radio" name="q268" value="2">
                3 
                <input type="radio" name="q268" value="3">
                4 
                <input type="radio" name="q268" value="4">
                5 
                <input type="radio" name="q268" value="5">
                6 
                <input type="radio" name="q268" value="6">
                7 
                <input type="radio" name="q268" value="7">
                </font></p>
              <p><font color="#000000"><strong>24. Because I believe that a few additional 
                years of education will improve my competence as a worker.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q269" value="">
                1 
                <input type="radio" name="q269" value="1">
                2 
                <input type="radio" name="q269" value="2">
                3 
                <input type="radio" name="q269" value="3">
                4 
                <input type="radio" name="q269" value="4">
                5 
                <input type="radio" name="q269" value="5">
                6 
                <input type="radio" name="q269" value="6">
                7 
                <input type="radio" name="q269" value="7">
                </font></p>
              <p><font color="#000000"><strong>25. For the &quot;high&quot; feeling 
                that I experience while reading about various interesting subjects.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q270" value="">
                1 
                <input type="radio" name="q270" value="1">
                2 
                <input type="radio" name="q270" value="2">
                3 
                <input type="radio" name="q270" value="3">
                4 
                <input type="radio" name="q270" value="4">
                5 
                <input type="radio" name="q270" value="5">
                6 
                <input type="radio" name="q270" value="6">
                7 
                <input type="radio" name="q270" value="7">
                </font></p>
              <p><font color="#000000"><strong>26. I don't know; I can't understand 
                what I am doing in school.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q271" value="">
                1 
                <input type="radio" name="q271" value="1">
                2 
                <input type="radio" name="q271" value="2">
                3 
                <input type="radio" name="q271" value="3">
                4 
                <input type="radio" name="q271" value="4">
                5 
                <input type="radio" name="q271" value="5">
                6 
                <input type="radio" name="q271" value="6">
                7 
                <input type="radio" name="q271" value="7">
                </font></p>
              <p><font color="#000000"><strong>27. Because college allows me to experience 
                a personal satisfaction in my quest for excellence in my studies.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q272" value="">
                1 
                <input type="radio" name="q272" value="1">
                2 
                <input type="radio" name="q272" value="2">
                3 
                <input type="radio" name="q272" value="3">
                4 
                <input type="radio" name="q272" value="4">
                5 
                <input type="radio" name="q272" value="5">
                6 
                <input type="radio" name="q272" value="6">
                7 
                <input type="radio" name="q272" value="7">
                </font></p>
              <p><font color="#000000"><strong>28. Because I want to show myself that 
                I can succeed in my studies.</strong></font></p>
              <p><font color="#000000">(1=does not correspond at all, 7=corresponds 
                exactly)</font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q273" value="">
                1 
                <input type="radio" name="q273" value="1">
                2 
                <input type="radio" name="q273" value="2">
                3 
                <input type="radio" name="q273" value="3">
                4 
                <input type="radio" name="q273" value="4">
                5 
                <input type="radio" name="q273" value="5">
                6 
                <input type="radio" name="q273" value="6">
                7 
                <input type="radio" name="q273" value="7">
                </font></p>
              <p>&nbsp; </p> 
    		  </table>
        <table width="80%" border="1" cellpadding="1" cellspacing="1" bordercolor="#000000" bgcolor="#000000">
            <td align="left" valign="top" bordercolor="#000000" bgcolor="#000000"> 
              <p>&nbsp;</p>
              <p><font color="#000000" size="2"><strong>People differ in the way they 
                go about making decisions. Please indicate how you make decisions 
                by noting the response which best fits your usual style.</strong></font></p>
            <p><font color="#000000"><strong>1. I waste a lot of time on trivial matters 
              before getting to the final decision. </strong></font></p>
            <p><font color="#000000">(0=not true for me, 1=sometimes true, 2=true for me)</font></p>
            <p><font color="#000000"> 
              <input type="hidden" name="q274" value="">
              0 
              <input type="radio" name="q274" value="0">
              1 
              <input type="radio" name="q274" value="1">
              2 
              <input type="radio" name="q274" value="2">
              </font></p>
            <p><font color="#000000"><strong>2. Even after I make a decision I delay 
              acting upon on it. </strong></font></p>
              <p><font color="#000000">(0=not true for me, 1=sometimes true, 2=true 
                for me)</font></p>
              <p><font color="#000000"> 
                <input type="hidden" name="q275" value="">
                0 
                <input type="radio" name="q275" value="0">
                1 
                <input type="radio" name="q275" value="1">
                2 
                <input type="radio" name="q275" value="2">
                </font></p>
              <p><font color="#000000"><strong>3. I don't make decisions unless I 
                really have to.</strong></font></p>
              <p><font color="#000000">(0=not true for me, 1=sometimes true, 2=true 
                for me)</font></p>
            <p><font color="#000000"> 
              <input type="hidden" name="q276" value="">
              0 
              <input type="radio" name="q276" value="0">
              1 
              <input type="radio" name="q276" value="1">
              2 
              <input type="radio" name="q276" value="2">
                </font></p>
            <p><font color="#000000"><strong>4. I delay making decisions until it's 
              too late. </strong></font></p>
              <p><font color="#000000">(0=not true for me, 1=sometimes true, 2=true 
                for me)</font></p>
            <p><font color="#000000"> 
              <input type="hidden" name="q277" value="">
              0 
              <input type="radio" name="q277" value="0">
              1 
              <input type="radio" name="q277" value="1">
              2 
              <input type="radio" name="q277" value="2">
                </font></p>
            <p><font color="#000000"><strong>5. I put off making decisions.</strong></font></p>
              <p><font color="#000000">(0=not true for me, 1=sometimes true, 2=true 
                for me)</font></p>
              <p><font color="#000000"> 
                <input type="hidden" name="q278" value="">
                0 
                <input type="radio" name="q278" value="0">
                1 
                <input type="radio" name="q278" value="1">
                2 
                <input type="radio" name="q278" value="2">
                </font></p>
              <p>&nbsp;</p>
              </table><tr> 
            <table width="80%" border="1" cellpadding="1" cellspacing="1" bordercolor="#000000" bgcolor="#000000">
          <td align="left" valign="top" bordercolor="#000000" bgcolor="#000000">
              <p>&nbsp;</p>
              <h2><font color="#000000">The following items assess research accomplishments 
                and current involvement in research activities. Please answer the 
                following questions based on your past and current research involvement.</font></h2>
              <p><font color="#000000"><strong>1. How many published manuscripts (either 
                empirical or otherwise) have you authored or coauthored in a refereed 
                journal? </strong> 
                <input name="pubs" type="text" id="sa1" size="5" maxlength="5">
                </font></p>
              <p><font color="#000000"><strong>2. How many unpublished empirical manuscripts 
                have you authored or coauthored? </strong> 
                <input name=" unpublished manuscripts" type="text" id="sa2" size="5" maxlength="5">
                </font></p>
              <p> <font color="#000000"><strong>3. How many articles have you submitted 
                to refereed journals? </strong> 
                <input name="articles submitted" type="text" id="sa3" size="5" maxlength="5">
                </font></p>
              <p> <font color="#000000"><strong>4. How many manuscripts are you currently 
                in the process of preparing to submit for publication (i.e., writing 
                the manuscript)? </strong> 
                <input name="manuscripts in progress" type="text" id="sa4" size="5" maxlength="5">
                </font></p>
              <p> <font color="#000000"><strong>5. How many presentations have you 
                made at local, regional, or national conventions?</strong> 
                <input name="presentations made" type="text" id="sa5" size="5" maxlength="5">
                </font></p>
              <p> <font color="#000000"><strong>6. How many presentations are you 
                currently in the process of preparing to submit for presentation (i.e., 
                writing an abstract)? </strong> 
                <input name="presentations in preparation" type="text" id="sa6" size="5" maxlength="5">
                </font></p>
              <p> <font color="#000000"><strong>7. How many local, regional, or national 
                research conventions have you attended?</strong> 
                <input name="conventions attended" type="text" id="sa7" size="5" maxlength="5">
                </font></p>
                <p><font color="#000000"><strong>8. Are you currently involved in gathering 
                  data (do not include your thesis or dissertation if you are a student)?</strong> 
                  </font></p>
                <p><font color="#000000">
                  <input type="hidden" name="gathering data" value="">
                  <input type="radio" name="gathering data" value="1">
                  yes 
                  <input type="radio" name="gathering data" value="0">
                  no </font></p>
                <p> <font color="#000000"><strong>9. Are you currently conducting statistical 
                  analyses on data (do not include your thesis or dissertation if 
                  you are a student)? </strong> 
                  <input type="hidden" name="conducting analyses" value="">
                  <input type="radio" name="conducting analyses" value="1">
                  yes 
                  <input type="radio" name="conducting analyses" value="0">
                  no </font></p>
                <p>&nbsp;</p>
                   </table>
          <table width="80%" border="1" cellpadding="1" cellspacing="1" bordercolor="#000000" bgcolor="#000000"> 
                 <td align="left" valign="top" bordercolor="#000000" bgcolor="#000000"> 
              <p>&nbsp;</p>
              <h2><font color="#000000">Using the 5-point scale provided, please indicate 
                the degree to which you agree with each statement.</font></h2>
              <p><font color="#000000"><br>
                <strong>1. My goal as a scientist is to completely develop my research 
                skills. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q100" value="">
                1 
                <input type="radio" name="q100" value="1">
                2 
                <input type="radio" name="q100" value="2">
                3 
                <input type="radio" name="q100" value="3">
                4 
                <input type="radio" name="q100" value="4">
                5 
                <input type="radio" name="q100" value="5">
                </font></p>
              <p> <font color="#000000"><br>
                <strong>2. My goal as a researcher is to outperform my colleagues.</strong></font></p>
                <p><font color="#000000"> (1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q101" value="">
                1 
                <input type="radio" name="q101" value="1">
                2 
                <input type="radio" name="q101" value="2">
                3 
                <input type="radio" name="q101" value="3">
                4 
                <input type="radio" name="q101" value="4">
                5 
                <input type="radio" name="q101" value="5">
                </font></p>
              <p> <font color="#000000"><strong><br>
                3 . My goal is to avoid being outperformed by my colleagues in research. 
                </strong></font></p>
                <p><font color="#000000"> (1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q102" value="">
                1 
                <input type="radio" name="q102" value="1">
                2 
                <input type="radio" name="q102" value="2">
                3 
                <input type="radio" name="q102" value="3">
                4 
                <input type="radio" name="q102" value="4">
                5 
                <input type="radio" name="q102" value="5">
                </font></p>
              <p><font color="#000000"><strong>4. My goal is to avoid being unable 
                to master necessary research tasks. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q103" value="">
                1 
                <input type="radio" name="q103" value="1">
                2 
                <input type="radio" name="q103" value="2">
                3 
                <input type="radio" name="q103" value="3">
                4 
                <input type="radio" name="q103" value="4">
                5 
                <input type="radio" name="q103" value="5">
                </font></p>
              <p><font color="#000000"><strong>5. My goal is to prove to myself that 
                I am capable of mastering research tasks. </strong></font></p>
                <p><font color="#000000"> (1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q104" value="">
                1 
                <input type="radio" name="q104" value="1">
                2 
                <input type="radio" name="q104" value="2">
                3 
                <input type="radio" name="q104" value="3">
                4 
                <input type="radio" name="q104" value="4">
                5 
                <input type="radio" name="q104" value="5">
                </font></p>
              <p> <font color="#000000"><strong>6. My goal is to be a better researcher 
                than my colleagues. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q105" value="">
                1 
                <input type="radio" name="q105" value="1">
                2 
                <input type="radio" name="q105" value="2">
                3 
                <input type="radio" name="q105" value="3">
                4 
                <input type="radio" name="q105" value="4">
                5 
                <input type="radio" name="q105" value="5">
                </font></p>
              <p> <font color="#000000"><strong>7. I sometimes worry that I may forget 
                what I've learned about how to do research. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q106" value="">
                1 
                <input type="radio" name="q106" value="1">
                2 
                <input type="radio" name="q106" value="2">
                3 
                <input type="radio" name="q106" value="3">
                4 
                <input type="radio" name="q106" value="4">
                5 
                <input type="radio" name="q106" value="5">
                </font></p>
              <p> <font color="#000000"><strong>8. My goal is to completely master 
                the skills needed to conduct research.</strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q107" value="">
                1 
                <input type="radio" name="q107" value="1">
                2 
                <input type="radio" name="q107" value="2">
                3 
                <input type="radio" name="q107" value="3">
                4 
                <input type="radio" name="q107" value="4">
                5 
                <input type="radio" name="q107" value="5">
                </font></p>
              <p> <font color="#000000"><strong>9. My goal is to be a better researcher 
                than I was a month ago. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q108" value="">
                1 
                <input type="radio" name="q108" value="1">
                2 
                <input type="radio" name="q108" value="2">
                3 
                <input type="radio" name="q108" value="3">
                4 
                <input type="radio" name="q108" value="4">
                5 
                <input type="radio" name="q108" value="5">
                </font></p>
              <p><font color="#000000"><strong>10. My fear of performing poorly as 
                a researcher compared to my colleagues is often what motivates me. 
                </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q109" value="">
                1 
                <input type="radio" name="q109" value="1">
                2 
                <input type="radio" name="q109" value="2">
                3 
                <input type="radio" name="q109" value="3">
                4 
                <input type="radio" name="q109" value="4">
                5 
                <input type="radio" name="q109" value="5">
                </font></p>
              <p><font color="#000000"><strong>11. My goal is to show myself that 
                I am a competent researcher. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q110" value="">
                1 
                <input type="radio" name="q110" value="1">
                2 
                <input type="radio" name="q110" value="2">
                3 
                <input type="radio" name="q110" value="3">
                4 
                <input type="radio" name="q110" value="4">
                5 
                <input type="radio" name="q110" value="5">
                </font></p>
              <p><font color="#000000"><strong>12. My goal is to avoid performing 
                poorly in research compared to my colleagues.</strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q111" value="">
                1 
                <input type="radio" name="q111" value="1">
                2 
                <input type="radio" name="q111" value="2">
                3 
                <input type="radio" name="q111" value="3">
                4 
                <input type="radio" name="q111" value="4">
                5 
                <input type="radio" name="q111" value="5">
                </font></p>
              <p><font color="#000000"><strong>13. I sometimes worry that I will be 
                unable to learn all there is to know about how to do research.</strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q112" value="">
                1 
                <input type="radio" name="q112" value="1">
                2 
                <input type="radio" name="q112" value="2">
                3 
                <input type="radio" name="q112" value="3">
                4 
                <input type="radio" name="q112" value="4">
                5 
                <input type="radio" name="q112" value="5">
                </font></p>
              <p> <font color="#000000"><strong><br>
                14 . My goal is to prove to myself that I am capable of understanding 
                complicated scientific methods. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q113" value="">
                1 
                <input type="radio" name="q113" value="1">
                2 
                <input type="radio" name="q113" value="2">
                3 
                <input type="radio" name="q113" value="3">
                4 
                <input type="radio" name="q113" value="4">
                5 
                <input type="radio" name="q113" value="5">
                </font></p>
              <p><font color="#000000"><strong>15. My goal is to avoid being unable 
                to develop my research skills to the extent that I would like.</strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q114" value="">
                1 
                <input type="radio" name="q114" value="1">
                2 
                <input type="radio" name="q114" value="2">
                3 
                <input type="radio" name="q114" value="3">
                4 
                <input type="radio" name="q114" value="4">
                5 
                <input type="radio" name="q114" value="5">
                </font></p>
              <p><font color="#000000"><strong>16. I am sometimes concerned that I 
                may not learn all that I can about how to do research. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q115" value="">
                1 
                <input type="radio" name="q115" value="1">
                2 
                <input type="radio" name="q115" value="2">
                3 
                <input type="radio" name="q115" value="3">
                4 
                <input type="radio" name="q115" value="4">
                5 
                <input type="radio" name="q115" value="5">
                </font></p>
              <p><font color="#000000"><strong>17. It is important to me that I do 
                well as a researcher compared to my colleagues. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q116" value="">
                1 
                <input type="radio" name="q116" value="1">
                2 
                <input type="radio" name="q116" value="2">
                3 
                <input type="radio" name="q116" value="3">
                4 
                <input type="radio" name="q116" value="4">
                5 
                <input type="radio" name="q116" value="5">
                </font></p>
              <p><font color="#000000"><strong>18. I want to achieve total mastery 
                of the tasks associated with conducting research.</strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q117" value="">
                1 
                <input type="radio" name="q117" value="1">
                2 
                <input type="radio" name="q117" value="2">
                3 
                <input type="radio" name="q117" value="3">
                4 
                <input type="radio" name="q117" value="4">
                5 
                <input type="radio" name="q117" value="5">
                </font></p>
              <p><font color="#000000"><strong>19. Sometimes I am afraid that I may 
                not understand how to do research as thoroughly as I would like. </strong></font></p>
                <p><font color="#000000"> (1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q118" value="">
                1 
                <input type="radio" name="q118" value="1">
                2 
                <input type="radio" name="q118" value="2">
                3 
                <input type="radio" name="q118" value="3">
                4 
                <input type="radio" name="q118" value="4">
                5 
                <input type="radio" name="q118" value="5">
                </font></p>
              <p><font color="#000000"><strong>20. My goal is to keep improving as 
                a researcher. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q119" value="">
                1 
                <input type="radio" name="q119" value="1">
                2 
                <input type="radio" name="q119" value="2">
                3 
                <input type="radio" name="q119" value="3">
                4 
                <input type="radio" name="q119" value="4">
                5 
                <input type="radio" name="q119" value="5">
                </font></p>
              <p><font color="#000000"><strong>21. My goal is to demonstrate to myself 
                that I am capable of fully developing my research skills. </strong></font></p>
                <p><font color="#000000"> (1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q120" value="">
                1 
                <input type="radio" name="q120" value="1">
                2 
                <input type="radio" name="q120" value="2">
                3 
                <input type="radio" name="q120" value="3">
                4 
                <input type="radio" name="q120" value="4">
                5 
                <input type="radio" name="q120" value="5">
                </font></p>
              <p> <font color="#000000"><strong>22. I am sometimes concerned that 
                I may not master the research tasks needed to be a competent researcher. 
                </strong></font></p>
                <p><font color="#000000"> (1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q121" value="">
                1 
                <input type="radio" name="q121" value="1">
                2 
                <input type="radio" name="q121" value="2">
                3 
                <input type="radio" name="q121" value="3">
                4 
                <input type="radio" name="q121" value="4">
                5 
                <input type="radio" name="q121" value="5">
                </font></p>
              <p> <font color="#000000"><strong>23. My goal is to understand how to 
                do research as thoroughly as possible. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q122" value="">
                1 
                <input type="radio" name="q122" value="1">
                2 
                <input type="radio" name="q122" value="2">
                3 
                <input type="radio" name="q122" value="3">
                4 
                <input type="radio" name="q122" value="4">
                5 
                <input type="radio" name="q122" value="5">
                </font></p>
              <p><font color="#000000"><strong>24. I sometimes find myself comparing 
                the quality of my research to that of other researchers. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q123" value="">
                1 
                <input type="radio" name="q123" value="1">
                2 
                <input type="radio" name="q123" value="2">
                3 
                <input type="radio" name="q123" value="3">
                4 
                <input type="radio" name="q123" value="4">
                5 
                <input type="radio" name="q123" value="5">
                </font></p>
              <p> <font color="#000000"><strong>25. I sometimes compare my research 
                to that of my colleagues in hopes that it will be of higher quality. 
                </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q124" value="">
                1 
                <input type="radio" name="q124" value="1">
                2 
                <input type="radio" name="q124" value="2">
                3 
                <input type="radio" name="q124" value="3">
                4 
                <input type="radio" name="q124" value="4">
                5 
                <input type="radio" name="q124" value="5">
                </font></p>
              <p><font color="#000000"><strong>26. My goal is to avoid producing research 
                that is inferior to the research of others. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q125" value="">
                1 
                <input type="radio" name="q125" value="1">
                2 
                <input type="radio" name="q125" value="2">
                3 
                <input type="radio" name="q125" value="3">
                4 
                <input type="radio" name="q125" value="4">
                5 
                <input type="radio" name="q125" value="5">
                </font></p>
              <p><font color="#000000"><strong>27. The possibility that I may not 
                completely master research tasks bothers me. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q126" value="">
                1 
                <input type="radio" name="q126" value="1">
                2 
                <input type="radio" name="q126" value="2">
                3 
                <input type="radio" name="q126" value="3">
                4 
                <input type="radio" name="q126" value="4">
                5 
                <input type="radio" name="q126" value="5">
                </font></p>
              <p><font color="#000000"><strong>28. I just want to avoid doing poorly 
                in research relative to my colleagues. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q127" value="">
                1 
                <input type="radio" name="q127" value="1">
                2 
                <input type="radio" name="q127" value="2">
                3 
                <input type="radio" name="q127" value="3">
                4 
                <input type="radio" name="q127" value="4">
                5 
                <input type="radio" name="q127" value="5">
                </font></p>
              <p><font color="#000000"><strong>29. My goal is to avoid being unable 
                to fully develop my research skills.</strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q128" value="">
                1 
                <input type="radio" name="q128" value="1">
                2 
                <input type="radio" name="q128" value="2">
                3 
                <input type="radio" name="q128" value="3">
                4 
                <input type="radio" name="q128" value="4">
                5 
                <input type="radio" name="q128" value="5">
                </font></p>
              <p><font color="#000000"><strong>30. My goal is to fully understand 
                basic scientific methods before learning more advanced methods. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q129" value="">
                1 
                <input type="radio" name="q129" value="1">
                2 
                <input type="radio" name="q129" value="2">
                3 
                <input type="radio" name="q129" value="3">
                4 
                <input type="radio" name="q129" value="4">
                5 
                <input type="radio" name="q129" value="5">
                </font></p>
                <p><font color="#000000"><strong>31. My goal is to master fundamental 
                  research tasks before moving on to more advanced tasks. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q130" value="">
                1 
                <input type="radio" name="q130" value="1">
                2 
                <input type="radio" name="q130" value="2">
                3 
                <input type="radio" name="q130" value="3">
                4 
                <input type="radio" name="q130" value="4">
                5 
                <input type="radio" name="q130" value="5">
                </font></p>
              <p><font color="#000000"><strong>32. I dislike comparing my research 
                to that of my colleagues because I am concerned that mine will be 
                inferior. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q131" value="">
                1 
                <input type="radio" name="q131" value="1">
                2 
                <input type="radio" name="q131" value="2">
                3 
                <input type="radio" name="q131" value="3">
                4 
                <input type="radio" name="q131" value="4">
                5 
                <input type="radio" name="q131" value="5">
                </font></p>
              <p><font color="#000000"><strong>33. It is important to me to perform 
                better than my colleagues in research.</strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q132" value="">
                1 
                <input type="radio" name="q132" value="1">
                2 
                <input type="radio" name="q132" value="2">
                3 
                <input type="radio" name="q132" value="3">
                4 
                <input type="radio" name="q132" value="4">
                5 
                <input type="radio" name="q132" value="5">
                </font></p>
                <p><font color="#000000"><strong>34. My personal goal is the gradual 
                  development of my research skills.</strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q133" value="">
                1 
                <input type="radio" name="q133" value="1">
                2 
                <input type="radio" name="q133" value="2">
                3 
                <input type="radio" name="q133" value="3">
                4 
                <input type="radio" name="q133" value="4">
                5 
                <input type="radio" name="q133" value="5">
                </font></p>
              <p><font color="#000000"><strong>35. My goal as a researcher is to fully 
                understand the methods associated with scientific inquiry. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q134" value="">
                1 
                <input type="radio" name="q134" value="1">
                2 
                <input type="radio" name="q134" value="2">
                3 
                <input type="radio" name="q134" value="3">
                4 
                <input type="radio" name="q134" value="4">
                5 
                <input type="radio" name="q134" value="5">
                </font></p>
              <p><font color="#000000"><strong>36. My goal is to learn as much as 
                possible about how to conduct research. </strong></font></p>
                <p><font color="#000000">(1=strongly disagree, 3=neutral, 5=strongly 
                  agree) </font></p>
              <p> <font color="#000000"> 
                <input type="hidden" name="q135" value="">
                1 
                <input type="radio" name="q135" value="1">
                2 
                <input type="radio" name="q135" value="2">
                3 
                <input type="radio" name="q135" value="3">
                4 
                <input type="radio" name="q135" value="4">
                5 
                <input type="radio" name="q135" value="5">
                </font></p>
              <p>&nbsp;</p>
               
        </table>
        <h2>&nbsp;</h2>
        <p><font color="#000000"> 
          <input type="submit" name="Submit" value="Submit">
          <input type="reset" name="Submit2" value="Reset">
          </font></p>
        <p>&nbsp;</p>
        <p>&nbsp;</p>
      </form>
    </div>
    </body>
    </html>
    Last edited by ed9498; 11-21-2008 at 11:12 AM.

  9. #9
    netroact's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2006
    Posts
    19

    Re: html form to file (newbie)

    There is so much I can cover here, and so many ways to answer your questions. I will limit my answers to a simple example.

    Your example form is very long. I have truncated and edited it for the purpose of simplicity. And, I have deleted unneccesary information.

    Here is the form:
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#ffffff" text="#000000" link="#00FFFF" vlink="#006666" alink="#003333">
    <div id="center"> 
      <h1 align="center"><font color="#000000">Welcome</font></h1>
      <h2 align="center"><font color="#000000">Thank you for volunteering for our 
        study. Please answer the questions below as honestly as possible.</font></h2>
      <FORM ACTION="http://www.______/cgi-bin/survey/formfile.pl" METHOD="post"  ENCTYPE="multipart/form-data"> 
        <font color="#000000"> 
        <table width="80%" border="1" cellpadding="1" cellspacing="1" bordercolor="#000000" bgcolor="#ffffff">
          <tr> 
            <td align="left" valign="top" bordercolor="#000000" bgcolor="#ffffff"> 
              <p>&nbsp;</p>
              <p><font color="#000000">1. <strong>What is your age?</strong> 
                <input name="age" type="text" id="age" size="6" maxlength="10">
                </font></p>
              <p><font color="#000000">2. <strong>What is your gender?</strong> </font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="gender" value="male">
                male </font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="gender" value="female">
                female</font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="gender" value="transgendered">
                transgendered </font></p>            </font></p>
    
              </td>
              </tr>           
        </table>
        <h2>&nbsp;</h2>
        <p><font color="#000000"> 
          <input type="submit" name="Submit" value="Submit">
          <input type="reset" name="Submit2" value="Reset">
          </font></p>
        <p>&nbsp;</p>
        <p>&nbsp;</p>
      </form>
    </div>
    </body>
    </html>
    Upload the form as an .html file to your main website directory (folder).

    The page calls an external style sheet for formatting. Without the CSS the backgound color is black.
    Code:
    bgcolor="000000"
    Since the text is black, it is invisible. I changed the background color to white.
    Code:
    bgcolor="ffffff"
    The important line in the form is in red. The url indicated is the url of the Perl script. The data from the form will be posted to a Perl script in the cgi-bin. I prepared this demo for a shared hosting account on a Unix server. Most shared accounts include a cgi-bin. Several things will be different if you use your own server, or a windows server.

    Here is the script adapted from my script above:
    Code:
    #!/usr/bin/perl
    
    use strict;
    use CGI qw/:standard/;
    use CGI::Carp qw(fatalsToBrowser);
    
    #Parse form data
    my $age = param("age");
    my $gender = param("gender");
    
    
    open(FILE, ">>file.txt") || die "can't write to file.txt $!";
    
    print FILE "$age\n";
    print FILE "$gender\n";
    print FILE "\n";
    
    close(FILE);
    
    print header(),
    start_html(-title=>'File Created'),
    'File created!',
    end_html();
    Copy this script and paste it in a text editor like Windows Notepad. Save it as formfile.pl. I created a directory (folder) in the cgi-bin named survey. The form will post data to this directory. The script will create the text file in this directory. Upload the file in ASCII mode to this directory. Set permissions to 755.

    I have tested the form and script. Have fun, and let me know if you have further questions.
    Last edited by netroact; 11-23-2008 at 06:37 PM.

  10. #10
    ed9498's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2008
    Posts
    6

    Re: html form to file (newbie)

    Great, thanks!! I'll be using my university's server so I guess I'll have to ask them to set the permission(s). Another question: Can I use numerical values for variables like gender, age, etc., or do they have to be text values?

  11. #11
    netroact's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2006
    Posts
    19

    Re: html form to file (newbie)

    If the university provides a way for you to upload the files (i.e. FTP or File Manager), you should be able to use that utility to set the permissions.

    Yes, you can use numbers. I just used text to make it easier to follow.

  12. #12
    ed9498's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2008
    Posts
    6

    Re: html form to file (newbie)

    Quote Originally Posted by netroact View Post
    There is so much I can cover here, and so many ways to answer your questions. I will limit my answers to a simple example.

    Your example form is very long. I have truncated and edited it for the purpose of simplicity. And, I have deleted unneccesary information.

    Here is the form:
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#ffffff" text="#000000" link="#00FFFF" vlink="#006666" alink="#003333">
    <div id="center"> 
      <h1 align="center"><font color="#000000">Welcome</font></h1>
      <h2 align="center"><font color="#000000">Thank you for volunteering for our 
        study. Please answer the questions below as honestly as possible.</font></h2>
      <FORM ACTION="http://www.______/cgi-bin/survey/formfile.pl" METHOD="post"  ENCTYPE="multipart/form-data"> 
        <font color="#000000"> 
        <table width="80%" border="1" cellpadding="1" cellspacing="1" bordercolor="#000000" bgcolor="#ffffff">
          <tr> 
            <td align="left" valign="top" bordercolor="#000000" bgcolor="#ffffff"> 
              <p>&nbsp;</p>
              <p><font color="#000000">1. <strong>What is your age?</strong> 
                <input name="age" type="text" id="age" size="6" maxlength="10">
                </font></p>
              <p><font color="#000000">2. <strong>What is your gender?</strong> </font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="gender" value="male">
                male </font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="gender" value="female">
                female</font></p>
              <p> <font color="#000000"> 
                <input type="radio" name="gender" value="transgendered">
                transgendered </font></p>            </font></p>
    
              </td>
              </tr>           
        </table>
        <h2>&nbsp;</h2>
        <p><font color="#000000"> 
          <input type="submit" name="Submit" value="Submit">
          <input type="reset" name="Submit2" value="Reset">
          </font></p>
        <p>&nbsp;</p>
        <p>&nbsp;</p>
      </form>
    </div>
    </body>
    </html>
    Upload the form as an .html file to your main website directory (folder).

    The page calls an external style sheet for formatting. Without the CSS the backgound color is black.
    Code:
    bgcolor="000000"
    Since the text is black, it is invisible. I changed the background color to white.
    Code:
    bgcolor="ffffff"
    The important line in the form is in red. The url indicated is the url of the Perl script. The data from the form will be posted to a Perl script in the cgi-bin. I prepared this demo for a shared hosting account on a Unix server. Most shared accounts include a cgi-bin. Several things will be different if you use your own server, or a windows server.

    Here is the script adapted from my script above:
    Code:
    #!/usr/bin/perl
    
    use strict;
    use CGI qw/:standard/;
    use CGI::Carp qw(fatalsToBrowser);
    
    #Parse form data
    my $age = param("age");
    my $gender = param("gender");
    
    
    open(FILE, ">>file.txt") || die "can't write to file.txt $!";
    
    print FILE "$age\n";
    print FILE "$gender\n";
    print FILE "\n";
    
    close(FILE);
    
    print header(),
    start_html(-title=>'File Created'),
    'File created!',
    end_html();
    Copy this script and paste it in a text editor like Windows Notepad. Save it as formfile.pl. I created a directory (folder) in the cgi-bin named survey. The form will post data to this directory. The script will create the text file in this directory. Upload the file in ASCII mode to this directory. Set permissions to 755.

    I have tested the form and script. Have fun, and let me know if you have further questions.
    Thanks for your help so far. I created a folder called "survey" and put the cgi script (formfile.pl) in it via an FTP program. I also set both the destination and file permissions to 755 but it's still not working. Any ideas as to why? Since university folks control the server, do you think maybe they have the directory permission set to a different number?
    Edit: I just noticed your response above. I talked to someone in IT at our univ. last week and he said something like they use PHP and mysql. Is it possible that the univ. server doesn't recognize cgi/perl language?
    Last edited by ed9498; 11-23-2008 at 10:48 PM.

  13. #13
    netroact's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2006
    Posts
    19

    Re: html form to file (newbie)

    Do you see a folder named cgi-bin when you login to FTP?

  14. #14
    ed9498's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2008
    Posts
    6

    Re: html form to file (newbie)

    Quote Originally Posted by netroact View Post
    Do you see a folder named cgi-bin when you login to FTP?
    No. Maybe I need to have the administrators create one?

  15. #15
    netroact's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2006
    Posts
    19

    Re: html form to file (newbie)

    You will need to know the path to Perl for the first line of the script. You are probably on a windows server. It's been awhile since I used a windows server, but I think you will need a path to the text file.
    I would ask the admin what kind of server, path to Perl, if Perl is installed, file path, can you run Perl scripts outside the cgi-bin?



Page 1 of 2 1 2 Last

Tags for this Thread