cmwyke

Firefox Select Value

1 post in this topic

I'm trying to select a value from a drop down. I can select most throughout this site. Unfortunately, it isn't a site I can give access to, but I can copy paste some of the code.

<table width="100%">
                      <tr>
                        <td colspan="3" class="section">Applicant Information </td>
                        </tr>
                      <tr>
                        <td> </td>
                        <td> </td>
                        <td> </td>
                      </tr>
                      <tr>
                        <td width="172">First Name:* </td>
                        <td style="padding-left: 13px;"><input name="txtFirstName" type="text" id="txtFirstName" value="" size="35"></td>
                      </tr>
                      <tr>
                        <td width="172">Middle Initial: </td>
                        <td style="padding-left: 13px;"><input name="txtMiddleInitial" type="text" id="txtMiddleInitial" value="" size="35"></td>
                      </tr>
                      <tr>
                        <td width="172">Last Name:* </td>
                        <td style="padding-left: 13px;"><input name="txtLastName" type="text" id="txtLastName" value="" size="35"></td>
                      </tr>
                      <tr>
                        <td>Social Security:* </td>
                        <td style="padding-left: 13px;"><input name="txtSS" type="text" id="txtSS" value="" size="35"></td>
                      </tr>
                      <tr>
                        <td>Birth Date:* </td>
                        <td style="padding-left: 13px;"><input name="txtDOB" type="text" id="txtDOB" value="" size="35">
                        (ex. mm/dd/yyyy) </td>
                      </tr>
                      <tr>
                        <td>Marital Status: </td>                        
                        <td style="padding-left: 13px;"><select name="selMarital" id="selMarital" class="fixed">
                        <option value=0 selected></option><option value=1>Unmarried</option><option value=2>Married</option><option value=3>Separated</option>
                        </select></td>
                      </tr>
                      <tr>
                        <td>Home Phone:* </td>
                        <td style="padding-left: 13px;"><input name="txtPhone" type="text" id="txtPhone" value="" size="35" maxlength="25"></td>
                      </tr>
                      <tr>
                        <td>Mobile  Phone: </td>
                        <td style="padding-left: 13px;"><input name="txtMobile" type="text" id="txtMobile" value="" size="35"  maxlength="25"></td>
                      </tr>
                      <tr>
                        <td>Email:</td>
                        <td style="padding-left: 13px;"><input name="txtEmail" type="text" id="txtEmail" value="" size="35" maxlength="50"></td>
                      </tr>
                      <tr>
                        <td> </td>
                        <td> </td>
                        <td> </td>
                      </tr>
                      </table>
                      <table width="100%">
                      <tr>
                        <td colspan="3" class="section">Current Address </td>
                        </tr>
                      <tr>
                        <td> </td>
                        <td> </td>
                        <td> </td>
                      </tr>
                      <tr>
                        <td width="172">Address:*</td>
                        <td style="padding-left: 13px;"><input name="txtAddress" type="text" id="txtAddress" value="" size="35" maxlength="50"></td>
                      </tr>
                      <tr>
                        <td>Apartment: </td>
                        <td style="padding-left: 13px;"><input name="txtApt" type="text" id="txtApt" value="" size="35" maxlength="50"></td>
                      </tr>
                      <tr>
                        <td>City:*</td>
                        <td style="padding-left: 13px;"><input name="txtCity" type="text" id="txtCity" value="" size="35" maxlength="50"></td>
                      </tr>
                      <tr>
                        <td>State:*</td>
                        <td style="padding-left: 13px;"><select name="selState" class="fixed" id="selState">
                        <option value=0 selected></option><option value=139>Alabama</option><option value=143>Arkansas</option><option value=149>Florida</option><option value=150>Georgia</option><option value=158>Louisiana</option><option value=164>Mississippi</option><option value=183>Tennessee</option>
                        </select></td>
                      </tr>
                      <tr>
                        <td>Zip:*</td>
                        <td style="padding-left: 13px;"><input name="txtZip" type="text" id="txtZip" value="" size="35" maxlength="25"></td>
                      </tr>
                      <tr>
                        <td>Residential History:* </td>
                        <td style="padding-left: 13px;"><select name="selResYears" id="selResYears" onChange="CheckAddress(); return true;">
                        <option value='' selected></option><option value=0>0</option><option value=1>1</option><option value=2>2</option><option value=3>3</option><option value=4>4</option><option value=5>5</option><option value=6>6</option><option value=7>7</option><option value=8>8</option><option value=9>9</option><option value=10>10</option><option value=11>11</option><option value=12>12</option><option value=13>13</option><option value=14>14</option><option value=15>15</option><option value=16>16</option><option value=17>17</option><option value=18>18</option><option value=19>19</option><option value=20>20</option><option value=21>21</option><option value=22>22</option><option value=23>23</option><option value=24>24</option><option value=25>25</option><option value=26>26</option><option value=27>27</option><option value=28>28</option><option value=29>29</option><option value=30>30</option><option value=31>31</option><option value=32>32</option><option value=33>33</option><option value=34>34</option><option value=35>35</option><option value=36>36</option><option value=37>37</option><option value=38>38</option><option value=39>39</option><option value=40>40</option><option value=41>41</option><option value=42>42</option><option value=43>43</option><option value=44>44</option><option value=45>45</option><option value=46>46</option><option value=47>47</option><option value=48>48</option><option value=49>49</option><option value=50>50</option><option value=51>51</option><option value=52>52</option><option value=53>53</option><option value=54>54</option><option value=55>55</option><option value=56>56</option><option value=57>57</option><option value=58>58</option><option value=59>59</option><option value=60>60</option><option value=61>61</option><option value=62>62</option><option value=63>63</option><option value=64>64</option><option value=65>65</option><option value=66>66</option><option value=67>67</option><option value=68>68</option><option value=69>69</option><option value=70>70</option><option value=71>71</option><option value=72>72</option><option value=73>73</option><option value=74>74</option><option value=75>75</option>
                        </select>
                          Years
                          <select name="selResMonths" id="selResMonths" onChange="CheckAddressYearMonth(); return true;">
                            <option value='' selected></option><option value=0>0</option><option value=1>1</option><option value=2>2</option><option value=3>3</option><option value=4>4</option><option value=5>5</option><option value=6>6</option><option value=7>7</option><option value=8>8</option><option value=9>9</option><option value=10>10</option><option value=11>11</option><option value=12>12</option>
                          </select>
                          Months </td>
                      </tr>

 

 

This form is the problem. I can set all values for everything, except selecting the state. Multiple other drop downs throughout the site, but there is just something about the state drop down. Here's just a quick code snippet I've been working with to get it to work.

 

_FFSetValue("123 Main St.", "txtAddress", "id") ;this works
_FFSetValue("6", "selResYears", "id") ;this works

;trying to set state none of this works
;_FFSetValue("Tennessee", "selState", "id")
;_FFFormOptionSelect(23,"index",7,"index",0,"index")
;_FFFormOptionSelect("selState","id","183","value")

Autoit doesn't give me an error. I actually get an _FFRCV: 1, which tells me that it thinks it worked. The field doesn't change though. I'm at a loss here.

 

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now