Sign in to follow this  
Followers 0
pezo89

Ie input??

16 posts in this topic

Hi, i cant get this to work lol..

input in IE, what to use?? tried the _IEFormElementGetObjByName

but thats not working

i am trying to make a script that writes onto the input bare on sites like this

ref: https://colorline.easycruit.com/vacancy/application/815129ee09492b0a923b6c56d7385e56/452443/37714

fornavn: - First name

mellomnavn: - surname

etternavn: - Lastname

and so on..

anyone who can just bump me in the right direction, and no i do not want you to build the script for me or anything lol =)

in advance, thx alot for any help / responses given.

Share this post


Link to post
Share on other sites



Something like this should work:

$oIE=_IECreate("https://colorline.easycruit.com/")
    $oDoc = _IEDocGetObj($oIE)
    $oArray = $oDoc.getElementsByTagName ("input") ;similar to _IEFormElementGetObjByName
    For $element In $oArray
        If $element.Name = "username"  Then _IEFormElementSetValue($element, $user)
        If $element.Name = "password"  Then _IEFormElementSetValue($element, $pass)
        If $element.Value = "Sign In"  Then _IEAction($element, "click") ; be careful - the button should be the last element from the 3 - usually is
    Next
    _IELoadWait($oIE)

Share this post


Link to post
Share on other sites

I get this to your url

An error did arise while retrieving your session, please use the link below to try again.

Retry

I presume it's https://colorline.easycruit.com/ ?

i don't see

fornavn: - First namemellomnavn: - surname

etternavn: - Lastname Posted Image


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

seems i cannot link the site itself so il just copy the source.

looks like this

Edited by pezo89

Share this post


Link to post
Share on other sites

<DIV id=application_form>
<FORM name=preview action=/vacancy/application/815129ee09492b0a923b6c56d7385e56/452443/37714 method=post target=_blank><INPUT type=hidden value=true name=preview> <INPUT type=hidden value=no name=iso> </FORM>
<FORM name=cv action=/vacancy/application/815129ee09492b0a923b6c56d7385e56/452443/37714 method=post encType=multipart/form-data><INPUT type=hidden name=delete_item> <INPUT type=hidden value=2 name=view_page> <INPUT type=hidden value=2 name=current_page> <INPUT type=hidden value=homepage name=channel> <INPUT type=hidden value=no name=iso> 
<TABLE class=margins width="96%">
<TBODY>
<TR>
<TD>
<TABLE class=appframe style="BORDER-COLLAPSE: collapse" cellPadding=0 width="82%">
<TBODY>
<TR>
<TD>
<TABLE class=login-header style="BORDER-COLLAPSE: collapse" cellPadding=10 width="100%">
<TBODY>
<TR>
<TD class=login-header-text style="PADDING-LEFT: 30px">Du søker på stillingen "Ekstrahjelp/Helgevikarer Oslo-Kiel linjen" </TD>
<TD class=login-header-text style="PADDING-RIGHT: 6px; PADDING-LEFT: 6px; PADDING-BOTTOM: 6px; PADDING-TOP: 6px" align=right><IMG class=rightimg alt="" src="/images/logo/37713/logo.jpg"> </TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD>
<TABLE class=appmenu style="BORDER-COLLAPSE: collapse" cellPadding=0 width="100%">
<TBODY>
<TR>
<TD class=unselected-tab style="BORDER-COLLAPSE: collapse" vAlign=center noWrap align=middle width="16%" height=30>&nbsp;&nbsp;Personverngaranti&nbsp;&nbsp;</TD>
<TD class=selected-tab style="BORDER-COLLAPSE: collapse" vAlign=center noWrap align=middle width="16%" height=30>&nbsp;&nbsp;Personalia&nbsp;&nbsp;</TD>
<TD class=unselected-tab style="BORDER-COLLAPSE: collapse" vAlign=center noWrap align=middle width="16%" height=30>&nbsp;&nbsp;Utdanning og erfaring&nbsp;&nbsp;</TD>
<TD class=unselected-tab style="BORDER-COLLAPSE: collapse" vAlign=center noWrap align=middle width="16%" height=30>&nbsp;&nbsp;Kurs og Kompetanse&nbsp;&nbsp;</TD>
<TD class=unselected-tab style="BORDER-COLLAPSE: collapse" vAlign=center noWrap align=middle width="16%" height=30>&nbsp;&nbsp;Diverse&nbsp;&nbsp;</TD>
<TD class=unselected-tab style="BORDER-COLLAPSE: collapse" vAlign=center noWrap align=middle width="16%" height=30>&nbsp;&nbsp;Søknad&nbsp;&nbsp;</TD>
<TD class=unselected-tab style="BORDER-COLLAPSE: collapse" vAlign=center noWrap align=middle width="16%" height=30>&nbsp;&nbsp;Login informasjon&nbsp;&nbsp;</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD>
<TABLE class=appmain style="BORDER-COLLAPSE: collapse" width="100%">
<TBODY>
<TR>
<TD width="1%" height=350></TD>
<TD vAlign=top align=left height=350>
<H2 class=category>Personalia</H2><INPUT type=hidden value=1 name=form_submit> 
<TABLE border=0>
<TBODY>
<TR>
<TD vAlign=top align=left width=300>Fornavn:&nbsp;<FONT color=red>*</FONT>&nbsp; </TD>
<TD vAlign=top align=left><INPUT size=26 name=field_1_2> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Mellomnavn:&nbsp; </TD>
<TD vAlign=top align=left><INPUT size=26 name=field_1_3> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Etternavn:&nbsp;<FONT color=red>*</FONT>&nbsp; </TD>
<TD vAlign=top align=left><INPUT size=26 name=field_1_4> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Kjønn:&nbsp;<FONT color=red>*</FONT>&nbsp; </TD>
<TD vAlign=top align=left><INPUT type=radio value=m name=field_1_5>&nbsp;Mann<BR><INPUT type=radio value=f name=field_1_5>&nbsp;Kvinne<BR></TD></TR>
<TR>
<TD vAlign=top align=left width=300>Fødselsdato:&nbsp;<FONT color=red>*</FONT>&nbsp; </TD>
<TD vAlign=top align=left><SELECT name=field_1_6_date> <OPTION value="" selected>- Dag -</OPTION> <OPTION value=01>01</OPTION> <OPTION value=02>02</OPTION> <OPTION value=03>03</OPTION> <OPTION value=04>04</OPTION> <OPTION value=05>05</OPTION> <OPTION value=06>06</OPTION> <OPTION value=07>07</OPTION> <OPTION value=08>08</OPTION> <OPTION value=09>09</OPTION> <OPTION value=10>10</OPTION> <OPTION value=11>11</OPTION> <OPTION value=12>12</OPTION> <OPTION value=13>13</OPTION> <OPTION value=14>14</OPTION> <OPTION value=15>15</OPTION> <OPTION value=16>16</OPTION> <OPTION value=17>17</OPTION> <OPTION value=18>18</OPTION> <OPTION value=19>19</OPTION> <OPTION value=20>20</OPTION> <OPTION value=21>21</OPTION> <OPTION value=22>22</OPTION> <OPTION value=23>23</OPTION> <OPTION value=24>24</OPTION> <OPTION value=25>25</OPTION> <OPTION value=26>26</OPTION> <OPTION value=27>27</OPTION> <OPTION value=28>28</OPTION> <OPTION value=29>29</OPTION> <OPTION value=30>30</OPTION> <OPTION value=31>31</OPTION></SELECT> <SELECT name=field_1_6_month> <OPTION value="" selected>- Måned -</OPTION> <OPTION value=01>Januar</OPTION> <OPTION value=02>Februar</OPTION> <OPTION value=03>Mars</OPTION> <OPTION value=04>April</OPTION> <OPTION value=05>Mai</OPTION> <OPTION value=06>Juni</OPTION> <OPTION value=07>Juli</OPTION> <OPTION value=08>August</OPTION> <OPTION value=09>September</OPTION> <OPTION value=10>Oktober</OPTION> <OPTION value=11>November</OPTION> <OPTION value=12>Desember</OPTION></SELECT> <SELECT name=field_1_6_year> <OPTION value="" selected>- År -</OPTION> <OPTION value=1997>1997</OPTION> <OPTION value=1996>1996</OPTION> <OPTION value=1995>1995</OPTION> <OPTION value=1994>1994</OPTION> <OPTION value=1993>1993</OPTION> <OPTION value=1992>1992</OPTION> <OPTION value=1991>1991</OPTION> <OPTION value=1990>1990</OPTION> <OPTION value=1989>1989</OPTION> <OPTION value=1988>1988</OPTION> <OPTION value=1987>1987</OPTION> <OPTION value=1986>1986</OPTION> <OPTION value=1985>1985</OPTION> <OPTION value=1984>1984</OPTION> <OPTION value=1983>1983</OPTION> <OPTION value=1982>1982</OPTION> <OPTION value=1981>1981</OPTION> <OPTION value=1980>1980</OPTION> <OPTION value=1979>1979</OPTION> <OPTION value=1978>1978</OPTION> <OPTION value=1977>1977</OPTION> <OPTION value=1976>1976</OPTION> <OPTION value=1975>1975</OPTION> <OPTION value=1974>1974</OPTION> <OPTION value=1973>1973</OPTION> <OPTION value=1972>1972</OPTION> <OPTION value=1971>1971</OPTION> <OPTION value=1970>1970</OPTION> <OPTION value=1969>1969</OPTION> <OPTION value=1968>1968</OPTION> <OPTION value=1967>1967</OPTION> <OPTION value=1966>1966</OPTION> <OPTION value=1965>1965</OPTION> <OPTION value=1964>1964</OPTION> <OPTION value=1963>1963</OPTION> <OPTION value=1962>1962</OPTION> <OPTION value=1961>1961</OPTION> <OPTION value=1960>1960</OPTION> <OPTION value=1959>1959</OPTION> <OPTION value=1958>1958</OPTION> <OPTION value=1957>1957</OPTION> <OPTION value=1956>1956</OPTION> <OPTION value=1955>1955</OPTION> <OPTION value=1954>1954</OPTION> <OPTION value=1953>1953</OPTION> <OPTION value=1952>1952</OPTION> <OPTION value=1951>1951</OPTION> <OPTION value=1950>1950</OPTION> <OPTION value=1949>1949</OPTION> <OPTION value=1948>1948</OPTION> <OPTION value=1947>1947</OPTION> <OPTION value=1946>1946</OPTION> <OPTION value=1945>1945</OPTION> <OPTION value=1944>1944</OPTION> <OPTION value=1943>1943</OPTION> <OPTION value=1942>1942</OPTION> <OPTION value=1941>1941</OPTION> <OPTION value=1940>1940</OPTION> <OPTION value=1939>1939</OPTION> <OPTION value=1938>1938</OPTION> <OPTION value=1937>1937</OPTION> <OPTION value=1936>1936</OPTION> <OPTION value=1935>1935</OPTION> <OPTION value=1934>1934</OPTION> <OPTION value=1933>1933</OPTION> <OPTION value=1932>1932</OPTION> <OPTION value=1931>1931</OPTION> <OPTION value=1930>1930</OPTION> <OPTION value=1929>1929</OPTION> <OPTION value=1928>1928</OPTION> <OPTION value=1927>1927</OPTION> <OPTION value=1926>1926</OPTION> <OPTION value=1925>1925</OPTION> <OPTION value=1924>1924</OPTION> <OPTION value=1923>1923</OPTION> <OPTION value=1922>1922</OPTION> <OPTION value=1921>1921</OPTION> <OPTION value=1920>1920</OPTION> <OPTION value=1919>1919</OPTION> <OPTION value=1918>1918</OPTION> <OPTION value=1917>1917</OPTION> <OPTION value=1916>1916</OPTION> <OPTION value=1915>1915</OPTION> <OPTION value=1914>1914</OPTION> <OPTION value=1913>1913</OPTION> <OPTION value=1912>1912</OPTION> <OPTION value=1911>1911</OPTION> <OPTION value=1910>1910</OPTION> <OPTION value=1909>1909</OPTION> <OPTION value=1908>1908</OPTION> <OPTION value=1907>1907</OPTION> <OPTION value=1906>1906</OPTION> <OPTION value=1905>1905</OPTION> <OPTION value=1904>1904</OPTION> <OPTION value=1903>1903</OPTION> <OPTION value=1902>1902</OPTION> <OPTION value=1901>1901</OPTION> <OPTION value=1900>1900</OPTION></SELECT> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Personnummer:&nbsp; </TD>
<TD vAlign=top align=left><INPUT maxLength=15 size=15 name=field_1_27> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Nasjonalitet:&nbsp;<FONT color=red>*</FONT>&nbsp; </TD>
<TD vAlign=top align=left><SELECT name=field_1_7> <OPTION value="" selected>Velg nasjonalitet</OPTION> <OPTION value=1>Afghansk</OPTION> <OPTION value=2>Albansk</OPTION> <OPTION value=3>Algerisk</OPTION> <OPTION value=225>Amerikansk</OPTION> <OPTION value=5>Andorransk</OPTION> <OPTION value=6>Angolsk</OPTION> <OPTION value=7>Anguilla</OPTION> <OPTION value=9>Antiguansk</OPTION> <OPTION value=10>Argentinsk</OPTION> <OPTION value=11>Armensk</OPTION> <OPTION value=12>Arubisk</OPTION> <OPTION value=15>Aserbajdsjansk</OPTION> <OPTION value=13>Australsk</OPTION> <OPTION value=16>Bahamansk</OPTION> <OPTION value=17>Bahrainsk</OPTION> <OPTION value=18>Bangladeshisk</OPTION> <OPTION value=19>Barbadisk</OPTION> <OPTION value=21>Belgisk</OPTION> <OPTION value=22>Belizisk</OPTION> <OPTION value=23>Beninsk</OPTION> <OPTION value=24>Bermudisk</OPTION> <OPTION value=25>Bhutansk</OPTION> <OPTION value=90>Bissauguineansk</OPTION> <OPTION value=26>Boliviansk</OPTION> <OPTION value=27>Bosnisk</OPTION> <OPTION value=28>Botswansk</OPTION> <OPTION value=30>Brasiliansk</OPTION> <OPTION value=49>Brazzavillekongolesisk</OPTION> <OPTION value=224>Britisk</OPTION> <OPTION value=32>Brunei Darussalam</OPTION> <OPTION value=33>Bulgarsk</OPTION> <OPTION value=34>Burkinsk</OPTION> <OPTION value=35>Burundisk</OPTION> <OPTION value=40>Caymansk</OPTION> <OPTION value=43>Chilensk</OPTION> <OPTION value=47>Colombiansk</OPTION> <OPTION value=58>Dansk</OPTION> <OPTION value=59>Djiboutisk</OPTION> <OPTION value=61>Dominikansk</OPTION> <OPTION value=60>Dominikisk</OPTION> <OPTION value=62>Ecuadoriansk</OPTION> <OPTION value=63>Egyptisk</OPTION> <OPTION value=65>Ekvatorguineansk</OPTION> <OPTION value=223>Emiratarabisk</OPTION> <OPTION value=66>Eritreisk</OPTION> <OPTION value=67>Estisk</OPTION> <OPTION value=68>Etiopisk</OPTION> <OPTION value=71>Fijiansk</OPTION> <OPTION value=169>Filippinsk</OPTION> <OPTION value=72>Finsk</OPTION> <OPTION value=73>Fransk</OPTION> <OPTION value=70>Færøysk</OPTION> <OPTION value=77>Gabonsk</OPTION> <OPTION value=78>Gambiansk</OPTION> <OPTION value=79>Georgisk</OPTION> <OPTION value=81>Ghanesisk</OPTION> <OPTION value=82>Gibraltarsk</OPTION> <OPTION value=85>Grenadisk</OPTION> <OPTION value=83>Gresk</OPTION> <OPTION value=84>Grønlandsk</OPTION> <OPTION value=86>Guadeloupe</OPTION> <OPTION value=88>Guatemalansk</OPTION> <OPTION value=89>Guineansk</OPTION> <OPTION value=91>Guyansk</OPTION> <OPTION value=92>Haitisk</OPTION> <OPTION value=95>Honduransk</OPTION> <OPTION value=96>Hongkongsk</OPTION> <OPTION value=20>Hviterussisk</OPTION> <OPTION value=99>Indisk</OPTION> <OPTION value=100>Indonesisk</OPTION> <OPTION value=102>Irakisk</OPTION> <OPTION value=101>Iransk</OPTION> <OPTION value=103>Irsk</OPTION> <OPTION value=98>Islandsk</OPTION> <OPTION value=104>Israelsk</OPTION> <OPTION value=105>Italiensk</OPTION> <OPTION value=53>Ivoriansk</OPTION> <OPTION value=106>Jamaikansk</OPTION> <OPTION value=107>Japansk</OPTION> <OPTION value=236>Jemenittisk</OPTION> <OPTION value=108>Jordansk</OPTION> <OPTION value=237>Jugoslavisk</OPTION> <OPTION value=36>Kambodsjansk</OPTION> <OPTION value=37>Kamerunsk</OPTION> <OPTION value=38>Kanadisk</OPTION> <OPTION value=39>Kappverdisk</OPTION> <OPTION value=109>Kasakhstansk</OPTION> <OPTION value=110>Kenyansk</OPTION> <OPTION value=44>Kinesisk</OPTION> <OPTION value=115>Kirgisisk</OPTION> <OPTION value=111>Kiribatisk</OPTION> <OPTION value=48>Komorisk</OPTION> <OPTION value=50>Kongolesisk</OPTION> <OPTION value=52>Kostarikansk</OPTION> <OPTION value=54>Kroatisk</OPTION> <OPTION value=55>Kubansk</OPTION> <OPTION value=114>Kuwaitisk</OPTION> <OPTION value=56>Kypriotisk</OPTION> <OPTION value=116>Laotisk</OPTION> <OPTION value=117>Latvisk</OPTION> <OPTION value=119>Lesothisk</OPTION> <OPTION value=118>Libanesisk</OPTION> <OPTION value=120>Liberisk</OPTION> <OPTION value=121>Libysk</OPTION> <OPTION value=122>Lichtensteinsk</OPTION> <OPTION value=123>Litauisk</OPTION> <OPTION value=124>Luxembourgsk</OPTION> <OPTION value=127>Madagassisk</OPTION> <OPTION value=126>Makedonsk</OPTION> <OPTION value=128>Malawisk</OPTION> <OPTION value=129>Malaysisk</OPTION> <OPTION value=130>Maldivisk</OPTION> <OPTION value=131>Malisk</OPTION> <OPTION value=132>Maltesisk</OPTION> <OPTION value=144>Marokkansk</OPTION> <OPTION value=134>Martinique</OPTION> <OPTION value=135>Mauritansk</OPTION> <OPTION value=136>Mauritisk</OPTION> <OPTION value=138>Meksikansk</OPTION> <OPTION value=139>Mikronesisk</OPTION> <OPTION value=140>Moldovsk</OPTION> <OPTION value=141>Monegaskisk</OPTION> <OPTION value=142>Mongolsk</OPTION> <OPTION value=145>Mosambikisk</OPTION> <OPTION value=146>Myanmarsk</OPTION> <OPTION value=147>Namibisk</OPTION> <OPTION value=148>Naurisk</OPTION> <OPTION value=150>Nederlandsk</OPTION> <OPTION value=149>Nepalsk</OPTION> <OPTION value=153>Newzealansk</OPTION> <OPTION value=154>Nicaraguansk</OPTION> <OPTION value=155>Nigeriansk</OPTION> <OPTION value=156>Nigersk</OPTION> <OPTION value=157>Niuisk</OPTION> <OPTION value=112>Nordkoreansk</OPTION> <OPTION value=160>Norsk</OPTION> <OPTION value=161>Omansk</OPTION> <OPTION value=162>Pakistansk</OPTION> <OPTION value=163>Palauisk</OPTION> <OPTION value=164>Palestinsk</OPTION> <OPTION value=165>Panamansk</OPTION> <OPTION value=166>Papuansk</OPTION> <OPTION value=167>Paraguayansk</OPTION> <OPTION value=168>Peruansk</OPTION> <OPTION value=170>Pitcairn</OPTION> <OPTION value=171>Polsk</OPTION> <OPTION value=172>Portugisisk</OPTION> <OPTION value=173>Puertorikansk</OPTION> <OPTION value=174>Qatarsk</OPTION> <OPTION value=176>Rumensk</OPTION> <OPTION value=177>Russisk</OPTION> <OPTION value=178>Rwandisk</OPTION> <OPTION value=194>Salomonsk</OPTION> <OPTION value=64>Salvadoransk</OPTION> <OPTION value=184>Samaoansk</OPTION> <OPTION value=4>Samoansk</OPTION> <OPTION value=185>Sanmarinsk</OPTION> <OPTION value=187>Saudiarabisk</OPTION> <OPTION value=188>Senegalesisk</OPTION> <OPTION value=41>Sentralafrikansk</OPTION> <OPTION value=241>Serbisk</OPTION> <OPTION value=189>Seychellisk</OPTION> <OPTION value=190>Sierraleonsk</OPTION> <OPTION value=191>Singaporsk</OPTION> <OPTION value=192>Slovakisk</OPTION> <OPTION value=193>Slovensk</OPTION> <OPTION value=195>Somalsk</OPTION> <OPTION value=198>Spansk</OPTION> <OPTION value=199>Srilankisk</OPTION> <OPTION value=200>Sudansk</OPTION> <OPTION value=201>Surinamsk</OPTION> <OPTION value=205>Sveitsisk</OPTION> <OPTION value=204>Svensk</OPTION> <OPTION value=203>Swazilandsk</OPTION> <OPTION value=206>Syrisk</OPTION> <OPTION value=196>Sørafrikansk</OPTION> <OPTION value=113>Sørkoreansk</OPTION> <OPTION value=208>Tadsjikisk</OPTION> <OPTION value=207>Taiwansk</OPTION> <OPTION value=209>Tanzaniansk</OPTION> <OPTION value=210>Thailandsk</OPTION> <OPTION value=211>Timoresisk</OPTION> <OPTION value=212>Togolesisk</OPTION> <OPTION value=214>Tongansk</OPTION> <OPTION value=215>Trinidadisk</OPTION> <OPTION value=42>Tsjadisk</OPTION> <OPTION value=57>Tsjekkisk</OPTION> <OPTION value=216>Tunisisk</OPTION> <OPTION value=218>Turkmensk</OPTION> <OPTION value=220>Tuvalsk</OPTION> <OPTION value=217>Tyrkisk</OPTION> <OPTION value=80>Tysk</OPTION> <OPTION value=221>Ugandisk</OPTION> <OPTION value=222>Ukrainsk</OPTION> <OPTION value=97>Ungarsk</OPTION> <OPTION value=227>Uruguayansk</OPTION> <OPTION value=228>Usbekisk</OPTION> <OPTION value=229>Vanuatisk</OPTION> <OPTION value=94>Vatikansk</OPTION> <OPTION value=230>Venezuelansk</OPTION> <OPTION value=235>Vest-Sahara</OPTION> <OPTION value=231>Vietnamesisk</OPTION> <OPTION value=238>Zambisk</OPTION> <OPTION value=239>Zimbabwisk</OPTION> <OPTION value=14>Østerriker</OPTION></SELECT> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>E-post:&nbsp;<FONT color=red>*</FONT>&nbsp; </TD>
<TD vAlign=top align=left><INPUT size=26 name=field_1_8> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Gjenta e-postadressen:&nbsp;<FONT color=red>*</FONT>&nbsp; </TD>
<TD vAlign=top align=left><INPUT size=26 name=field_1_25> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Telefon privat:&nbsp;<FONT color=red>*</FONT>&nbsp; </TD>
<TD vAlign=top align=left><SELECT name=field_1_10_prefix> <OPTION value=93 selected>+93 (Afghanistan)</OPTION> <OPTION value=355>+355 (Albania)</OPTION> <OPTION value=213>+213 (Algerie)</OPTION> <OPTION value=684>+684 (Amerikansk Samoa)</OPTION> <OPTION value=376>+376 (Andorra)</OPTION> <OPTION value=244>+244 (Angola)</OPTION> <OPTION value=1264>+1-264 (Anguilla)</OPTION> <OPTION value=1268>+1-268 (Antigua og Barbuda)</OPTION> <OPTION value=54>+54 (Argentina)</OPTION> <OPTION value=374>+374 (Armenia)</OPTION> <OPTION value=297>+297 (Aruba)</OPTION> <OPTION value=994>+994 (Aserbajdan)</OPTION> <OPTION value=61>+61 (Australia)</OPTION> <OPTION value=1242>+1-242 (Bahamas)</OPTION> <OPTION value=973>+973 (Bahrain)</OPTION> <OPTION value=880>+880 (Bangladesh)</OPTION> <OPTION value=1246>+1-246 (Barbados)</OPTION> <OPTION value=32>+32 (Belgia)</OPTION> <OPTION value=501>+501 (Belize)</OPTION> <OPTION value=229>+229 (Benin)</OPTION> <OPTION value=1441>+1-441 (Bermuda)</OPTION> <OPTION value=975>+975 (Bhutan)</OPTION> <OPTION value=591>+591 (Bolivia)</OPTION> <OPTION value=387>+387 (Bosnia-Herzegovina)</OPTION> <OPTION value=267>+267 (Botswana)</OPTION> <OPTION value=55>+55 (Brasil)</OPTION> <OPTION value=673>+673 (Brunei Darussalam)</OPTION> <OPTION value=359>+359 (Bulgaria)</OPTION> <OPTION value=226>+226 (Burkina Faso)</OPTION> <OPTION value=257>+257 (Burundi)</OPTION> <OPTION value=1345>+1-345 (Cayman Islands)</OPTION> <OPTION value=56>+56 (Chile)</OPTION> <OPTION value=57>+57 (Colombia)</OPTION> <OPTION value=682>+682 (Cook Islands)</OPTION> <OPTION value=506>+506 (Costa Rica)</OPTION> <OPTION value=45>+45 (Danmark)</OPTION> <OPTION value=236>+236 (Den Sentralafrikanske Republikk)</OPTION> <OPTION value=253>+253 (Djibouti)</OPTION> <OPTION value=1809>+1-809 (Domenikanske republikk)</OPTION> <OPTION value=1767>+1-767 (Dominica)</OPTION> <OPTION value=593>+593 (Ecuador)</OPTION> <OPTION value=20>+20 (Egypt)</OPTION> <OPTION value=240>+240 (Ekvatoriansk Guinea)</OPTION> <OPTION value=503>+503 (El Salvador)</OPTION> <OPTION value=225>+225 (Elfenbenskysten)</OPTION> <OPTION value=291>+291 (Eritrea)</OPTION> <OPTION value=372>+372 (Estland)</OPTION> <OPTION value=251>+251 (Etiopia)</OPTION> <OPTION value=500>+500 (Falklandsøyene)</OPTION> <OPTION value=679>+679 (Fiji)</OPTION> <OPTION value=63>+63 (Fillipinene)</OPTION> <OPTION value=358>+358 (Finland)</OPTION> <OPTION value=971>+971 (Forente Arabiske Emirater)</OPTION> <OPTION value=33>+33 (Frankrike)</OPTION> <OPTION value=594>+594 (Fransk Guiana)</OPTION> <OPTION value=689>+689 (Fransk Polynesia)</OPTION> <OPTION value=298>+298 (Færøyene)</OPTION> <OPTION value=241>+241 (Gabon)</OPTION> <OPTION value=220>+220 (Gambia)</OPTION> <OPTION value=995>+995 (Georgia)</OPTION> <OPTION value=233>+233 (Ghana)</OPTION> <OPTION value=350>+350 (Gibraltar)</OPTION> <OPTION value=1473>+1-473 (Grenada)</OPTION> <OPTION value=299>+299 (Grønland)</OPTION> <OPTION value=590>+590 (Guadeloupe)</OPTION> <OPTION value=671>+671 (Guam)</OPTION> <OPTION value=502>+502 (Guatemala)</OPTION> <OPTION value=224>+224 (Guinea)</OPTION> <OPTION value=245>+245 (Guinea-Bissau)</OPTION> <OPTION value=592>+592 (Guyana)</OPTION> <OPTION value=509>+509 (Haiti)</OPTION> <OPTION value=30>+30 (Hellas)</OPTION> <OPTION value=504>+504 (Honduras)</OPTION> <OPTION value=852>+852 (Hong Kong)</OPTION> <OPTION value=375>+375 (Hviterussland)</OPTION> <OPTION value=91>+91 (India)</OPTION> <OPTION value=62>+62 (Indonesia)</OPTION> <OPTION value=964>+964 (Irak)</OPTION> <OPTION value=98>+98 (Iran)</OPTION> <OPTION value=353>+353 (Irland)</OPTION> <OPTION value=354>+354 (Island)</OPTION> <OPTION value=972>+972 (Israel)</OPTION> <OPTION value=39>+39 (Italia)</OPTION> <OPTION value=1876>+1-876 (Jamaika)</OPTION> <OPTION value=81>+81 (Japan)</OPTION> <OPTION value=967>+967 (Jemen)</OPTION> <OPTION value=1340>+1-340 (Jomfruøyene (Amerikansk))</OPTION> <OPTION value=1284>+1-284 (Jomfruøyene (Britisk))</OPTION> <OPTION value=962>+962 (Jordan)</OPTION> <OPTION value=855>+855 (Kambodsja)</OPTION> <OPTION value=237>+237 (Kamerun)</OPTION> <OPTION value=1>+1 (Kanada)</OPTION> <OPTION value=238>+238 (Kapp Verde)</OPTION> <OPTION value=7>+7 (Kasakhstan)</OPTION> <OPTION value=254>+254 (Kenya)</OPTION> <OPTION value=86>+86 (Kina)</OPTION> <OPTION value=996>+996 (Kirgisistan)</OPTION> <OPTION value=686>+686 (Kiribati)</OPTION> <OPTION value=269>+269 (Komorene)</OPTION> <OPTION value=242>+242 (Kongo)</OPTION> <OPTION value=243>+243 (Kongo, Den demokratiske republikken)</OPTION> <OPTION value=385>+385 (Kroatia)</OPTION> <OPTION value=53>+53 (Kuba)</OPTION> <OPTION value=965>+965 (Kuwait)</OPTION> <OPTION value=357>+357 (Kypros)</OPTION> <OPTION value=856>+856 (Laos)</OPTION> <OPTION value=371>+371 (Latvia)</OPTION> <OPTION value=266>+266 (Lesotho)</OPTION> <OPTION value=961>+961 (Libanon)</OPTION> <OPTION value=231>+231 (Liberia)</OPTION> <OPTION value=218>+218 (Libya)</OPTION> <OPTION value=41>+41 (Lichtenstein)</OPTION> <OPTION value=370>+370 (Litauen)</OPTION> <OPTION value=352>+352 (Luxembourg)</OPTION> <OPTION value=853>+853 (Macao)</OPTION> <OPTION value=261>+261 (Madagaskar)</OPTION> <OPTION value=389>+389 (Makedonia)</OPTION> <OPTION value=265>+265 (Malawi)</OPTION> <OPTION value=60>+60 (Malaysia)</OPTION> <OPTION value=960>+960 (Maldivene)</OPTION> <OPTION value=223>+223 (Mali)</OPTION> <OPTION value=356>+356 (Malta)</OPTION> <OPTION value=212>+212 (Marokko)</OPTION> <OPTION value=692>+692 (Marshalløyene)</OPTION> <OPTION value=596>+596 (Martinique)</OPTION> <OPTION value=222>+222 (Mauritania)</OPTION> <OPTION value=230>+230 (Mauritius)</OPTION> <OPTION value=52>+52 (Mexico)</OPTION> <OPTION value=691>+691 (Mikronesiaføderasjonen)</OPTION> <OPTION value=373>+373 (Moldova)</OPTION> <OPTION value=377>+377 (Monaco)</OPTION> <OPTION value=976>+976 (Mongolia)</OPTION> <OPTION value=1664>+1-664 (Montserrat)</OPTION> <OPTION value=258>+258 (Mosambikk)</OPTION> <OPTION value=95>+95 (Myanmar)</OPTION> <OPTION value=264>+264 (Namibia)</OPTION> <OPTION value=674>+674 (Nauru)</OPTION> <OPTION value=31>+31 (Nederland)</OPTION> <OPTION value=599>+599 (Nederlandske Antiller)</OPTION> <OPTION value=977>+977 (Nepal)</OPTION> <OPTION value=64>+64 (New Zealand)</OPTION> <OPTION value=505>+505 (Nicaragua)</OPTION> <OPTION value=227>+227 (Niger)</OPTION> <OPTION value=234>+234 (Nigeria)</OPTION> <OPTION value=683>+683 (Niue)</OPTION> <OPTION value=850>+850 (Nord-Korea)</OPTION> <OPTION value=672>+672 (Norfolk Island)</OPTION> <OPTION value=47>+47 (Norge)</OPTION> <OPTION value=1670>+1-670 (Northern Mariana Islands)</OPTION> <OPTION value=687>+687 (Ny-Kaledonia)</OPTION> <OPTION value=968>+968 (Oman)</OPTION> <OPTION value=92>+92 (Pakistan)</OPTION> <OPTION value=680>+680 (Palau)</OPTION> <OPTION value=507>+507 (Panama)</OPTION> <OPTION value=675>+675 (Papua New Guinea)</OPTION> <OPTION value=595>+595 (Paraguay)</OPTION> <OPTION value=51>+51 (Peru)</OPTION> <OPTION value=48>+48 (Polen)</OPTION> <OPTION value=351>+351 (Portugal)</OPTION> <OPTION value=1787>+1-787 (Puerto Rico)</OPTION> <OPTION value=974>+974 (Qatar)</OPTION> <OPTION value=262>+262 (Reunion)</OPTION> <OPTION value=40>+40 (Romania)</OPTION> <OPTION value=7>+7 (Russland)</OPTION> <OPTION value=250>+250 (Rwanda)</OPTION> <OPTION value=290>+290 (Saint Helena)</OPTION> <OPTION value=1869>+1-869 (Saint Kitts og Nevis)</OPTION> <OPTION value=1758>+1-758 (Saint Lucia)</OPTION> <OPTION value=508>+508 (Saint Pierre og Miquelon)</OPTION> <OPTION value=1809>+1-809 (Saint Vincent og The Grenadines)</OPTION> <OPTION value=685>+685 (Samoa)</OPTION> <OPTION value=378>+378 (San Marino)</OPTION> <OPTION value=239>+239 (Sao Tome And Principe)</OPTION> <OPTION value=966>+966 (Saudi Arabia)</OPTION> <OPTION value=221>+221 (Senegal)</OPTION> <OPTION value=381>+381 (Serbia)</OPTION> <OPTION value=248>+248 (Seychellene)</OPTION> <OPTION value=232>+232 (Sierra Leone)</OPTION> <OPTION value=65>+65 (Singapore)</OPTION> <OPTION value=421>+421 (Slovakia)</OPTION> <OPTION value=386>+386 (Slovenia)</OPTION> <OPTION value=677>+677 (Solomonøyene)</OPTION> <OPTION value=252>+252 (Somalia)</OPTION> <OPTION value=27>+27 (South Africa)</OPTION> <OPTION value=34>+34 (Spania)</OPTION> <OPTION value=94>+94 (Sri Lanka)</OPTION> <OPTION value=44>+44 (Storbritannia)</OPTION> <OPTION value=249>+249 (Sudan)</OPTION> <OPTION value=597>+597 (Suriname)</OPTION> <OPTION value=41>+41 (Sveits)</OPTION> <OPTION value=46>+46 (Sverige)</OPTION> <OPTION value=268>+268 (Swaziland)</OPTION> <OPTION value=963>+963 (Syria)</OPTION> <OPTION value=82>+82 (Sør Korea)</OPTION> <OPTION value=992>+992 (Tadjikistan)</OPTION> <OPTION value=886>+886 (Taiwan)</OPTION> <OPTION value=255>+255 (Tanzania)</OPTION> <OPTION value=235>+235 (Tchad)</OPTION> <OPTION value=66>+66 (Thailand)</OPTION> <OPTION value=228>+228 (Togo)</OPTION> <OPTION value=676>+676 (Tonga)</OPTION> <OPTION value=1868>+1-868 (Trinidad and Tobago)</OPTION> <OPTION value=420>+420 (Tsjekkia)</OPTION> <OPTION value=216>+216 (Tunisia)</OPTION> <OPTION value=993>+993 (Turkmenistan)</OPTION> <OPTION value=1649>+1-649 (Turks And Caicos Islands)</OPTION> <OPTION value=688>+688 (Tuvalu)</OPTION> <OPTION value=90>+90 (Tyrkia)</OPTION> <OPTION value=49>+49 (Tyskland)</OPTION> <OPTION value=1>+1 (USA)</OPTION> <OPTION value=256>+256 (Uganda)</OPTION> <OPTION value=380>+380 (Ukraina)</OPTION> <OPTION value=36>+36 (Ungarn)</OPTION> <OPTION value=598>+598 (Uruguay)</OPTION> <OPTION value=998>+998 (Usbekistan)</OPTION> <OPTION value=678>+678 (Vanuatu)</OPTION> <OPTION value=58>+58 (Venezuela)</OPTION> <OPTION value=84>+84 (Vietnam)</OPTION> <OPTION value=260>+260 (Zambia)</OPTION> <OPTION value=263>+263 (Zimbabwe)</OPTION> <OPTION value=43>+43 (Østerrike)</OPTION></SELECT> <INPUT onkeyup="this.value = this.value.replace(/[^+\d]/,''); this.value = this.value.replace(/(.)\+/,'$1');" onmouseover="ddrivetip('Velg landskode i nedtrekksmenyen, og legg til telefonnummeret uten å benytte lokale prefix, som f.eks. (0).')" onmouseout=hideddrivetip() size=12 name=field_1_10> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Telefon mobil:&nbsp; </TD>
<TD vAlign=top align=left><SELECT name=field_1_11_prefix> <OPTION value=93 selected>+93 (Afghanistan)</OPTION> <OPTION value=355>+355 (Albania)</OPTION> <OPTION value=213>+213 (Algerie)</OPTION> <OPTION value=684>+684 (Amerikansk Samoa)</OPTION> <OPTION value=376>+376 (Andorra)</OPTION> <OPTION value=244>+244 (Angola)</OPTION> <OPTION value=1264>+1-264 (Anguilla)</OPTION> <OPTION value=1268>+1-268 (Antigua og Barbuda)</OPTION> <OPTION value=54>+54 (Argentina)</OPTION> <OPTION value=374>+374 (Armenia)</OPTION> <OPTION value=297>+297 (Aruba)</OPTION> <OPTION value=994>+994 (Aserbajdan)</OPTION> <OPTION value=61>+61 (Australia)</OPTION> <OPTION value=1242>+1-242 (Bahamas)</OPTION> <OPTION value=973>+973 (Bahrain)</OPTION> <OPTION value=880>+880 (Bangladesh)</OPTION> <OPTION value=1246>+1-246 (Barbados)</OPTION> <OPTION value=32>+32 (Belgia)</OPTION> <OPTION value=501>+501 (Belize)</OPTION> <OPTION value=229>+229 (Benin)</OPTION> <OPTION value=1441>+1-441 (Bermuda)</OPTION> <OPTION value=975>+975 (Bhutan)</OPTION> <OPTION value=591>+591 (Bolivia)</OPTION> <OPTION value=387>+387 (Bosnia-Herzegovina)</OPTION> <OPTION value=267>+267 (Botswana)</OPTION> <OPTION value=55>+55 (Brasil)</OPTION> <OPTION value=673>+673 (Brunei Darussalam)</OPTION> <OPTION value=359>+359 (Bulgaria)</OPTION> <OPTION value=226>+226 (Burkina Faso)</OPTION> <OPTION value=257>+257 (Burundi)</OPTION> <OPTION value=1345>+1-345 (Cayman Islands)</OPTION> <OPTION value=56>+56 (Chile)</OPTION> <OPTION value=57>+57 (Colombia)</OPTION> <OPTION value=682>+682 (Cook Islands)</OPTION> <OPTION value=506>+506 (Costa Rica)</OPTION> <OPTION value=45>+45 (Danmark)</OPTION> <OPTION value=236>+236 (Den Sentralafrikanske Republikk)</OPTION> <OPTION value=253>+253 (Djibouti)</OPTION> <OPTION value=1809>+1-809 (Domenikanske republikk)</OPTION> <OPTION value=1767>+1-767 (Dominica)</OPTION> <OPTION value=593>+593 (Ecuador)</OPTION> <OPTION value=20>+20 (Egypt)</OPTION> <OPTION value=240>+240 (Ekvatoriansk Guinea)</OPTION> <OPTION value=503>+503 (El Salvador)</OPTION> <OPTION value=225>+225 (Elfenbenskysten)</OPTION> <OPTION value=291>+291 (Eritrea)</OPTION> <OPTION value=372>+372 (Estland)</OPTION> <OPTION value=251>+251 (Etiopia)</OPTION> <OPTION value=500>+500 (Falklandsøyene)</OPTION> <OPTION value=679>+679 (Fiji)</OPTION> <OPTION value=63>+63 (Fillipinene)</OPTION> <OPTION value=358>+358 (Finland)</OPTION> <OPTION value=971>+971 (Forente Arabiske Emirater)</OPTION> <OPTION value=33>+33 (Frankrike)</OPTION> <OPTION value=594>+594 (Fransk Guiana)</OPTION> <OPTION value=689>+689 (Fransk Polynesia)</OPTION> <OPTION value=298>+298 (Færøyene)</OPTION> <OPTION value=241>+241 (Gabon)</OPTION> <OPTION value=220>+220 (Gambia)</OPTION> <OPTION value=995>+995 (Georgia)</OPTION> <OPTION value=233>+233 (Ghana)</OPTION> <OPTION value=350>+350 (Gibraltar)</OPTION> <OPTION value=1473>+1-473 (Grenada)</OPTION> <OPTION value=299>+299 (Grønland)</OPTION> <OPTION value=590>+590 (Guadeloupe)</OPTION> <OPTION value=671>+671 (Guam)</OPTION> <OPTION value=502>+502 (Guatemala)</OPTION> <OPTION value=224>+224 (Guinea)</OPTION> <OPTION value=245>+245 (Guinea-Bissau)</OPTION> <OPTION value=592>+592 (Guyana)</OPTION> <OPTION value=509>+509 (Haiti)</OPTION> <OPTION value=30>+30 (Hellas)</OPTION> <OPTION value=504>+504 (Honduras)</OPTION> <OPTION value=852>+852 (Hong Kong)</OPTION> <OPTION value=375>+375 (Hviterussland)</OPTION> <OPTION value=91>+91 (India)</OPTION> <OPTION value=62>+62 (Indonesia)</OPTION> <OPTION value=964>+964 (Irak)</OPTION> <OPTION value=98>+98 (Iran)</OPTION> <OPTION value=353>+353 (Irland)</OPTION> <OPTION value=354>+354 (Island)</OPTION> <OPTION value=972>+972 (Israel)</OPTION> <OPTION value=39>+39 (Italia)</OPTION> <OPTION value=1876>+1-876 (Jamaika)</OPTION> <OPTION value=81>+81 (Japan)</OPTION> <OPTION value=967>+967 (Jemen)</OPTION> <OPTION value=1340>+1-340 (Jomfruøyene (Amerikansk))</OPTION> <OPTION value=1284>+1-284 (Jomfruøyene (Britisk))</OPTION> <OPTION value=962>+962 (Jordan)</OPTION> <OPTION value=855>+855 (Kambodsja)</OPTION> <OPTION value=237>+237 (Kamerun)</OPTION> <OPTION value=1>+1 (Kanada)</OPTION> <OPTION value=238>+238 (Kapp Verde)</OPTION> <OPTION value=7>+7 (Kasakhstan)</OPTION> <OPTION value=254>+254 (Kenya)</OPTION> <OPTION value=86>+86 (Kina)</OPTION> <OPTION value=996>+996 (Kirgisistan)</OPTION> <OPTION value=686>+686 (Kiribati)</OPTION> <OPTION value=269>+269 (Komorene)</OPTION> <OPTION value=242>+242 (Kongo)</OPTION> <OPTION value=243>+243 (Kongo, Den demokratiske republikken)</OPTION> <OPTION value=385>+385 (Kroatia)</OPTION> <OPTION value=53>+53 (Kuba)</OPTION> <OPTION value=965>+965 (Kuwait)</OPTION> <OPTION value=357>+357 (Kypros)</OPTION> <OPTION value=856>+856 (Laos)</OPTION> <OPTION value=371>+371 (Latvia)</OPTION> <OPTION value=266>+266 (Lesotho)</OPTION> <OPTION value=961>+961 (Libanon)</OPTION> <OPTION value=231>+231 (Liberia)</OPTION> <OPTION value=218>+218 (Libya)</OPTION> <OPTION value=41>+41 (Lichtenstein)</OPTION> <OPTION value=370>+370 (Litauen)</OPTION> <OPTION value=352>+352 (Luxembourg)</OPTION> <OPTION value=853>+853 (Macao)</OPTION> <OPTION value=261>+261 (Madagaskar)</OPTION> <OPTION value=389>+389 (Makedonia)</OPTION> <OPTION value=265>+265 (Malawi)</OPTION> <OPTION value=60>+60 (Malaysia)</OPTION> <OPTION value=960>+960 (Maldivene)</OPTION> <OPTION value=223>+223 (Mali)</OPTION> <OPTION value=356>+356 (Malta)</OPTION> <OPTION value=212>+212 (Marokko)</OPTION> <OPTION value=692>+692 (Marshalløyene)</OPTION> <OPTION value=596>+596 (Martinique)</OPTION> <OPTION value=222>+222 (Mauritania)</OPTION> <OPTION value=230>+230 (Mauritius)</OPTION> <OPTION value=52>+52 (Mexico)</OPTION> <OPTION value=691>+691 (Mikronesiaføderasjonen)</OPTION> <OPTION value=373>+373 (Moldova)</OPTION> <OPTION value=377>+377 (Monaco)</OPTION> <OPTION value=976>+976 (Mongolia)</OPTION> <OPTION value=1664>+1-664 (Montserrat)</OPTION> <OPTION value=258>+258 (Mosambikk)</OPTION> <OPTION value=95>+95 (Myanmar)</OPTION> <OPTION value=264>+264 (Namibia)</OPTION> <OPTION value=674>+674 (Nauru)</OPTION> <OPTION value=31>+31 (Nederland)</OPTION> <OPTION value=599>+599 (Nederlandske Antiller)</OPTION> <OPTION value=977>+977 (Nepal)</OPTION> <OPTION value=64>+64 (New Zealand)</OPTION> <OPTION value=505>+505 (Nicaragua)</OPTION> <OPTION value=227>+227 (Niger)</OPTION> <OPTION value=234>+234 (Nigeria)</OPTION> <OPTION value=683>+683 (Niue)</OPTION> <OPTION value=850>+850 (Nord-Korea)</OPTION> <OPTION value=672>+672 (Norfolk Island)</OPTION> <OPTION value=47>+47 (Norge)</OPTION> <OPTION value=1670>+1-670 (Northern Mariana Islands)</OPTION> <OPTION value=687>+687 (Ny-Kaledonia)</OPTION> <OPTION value=968>+968 (Oman)</OPTION> <OPTION value=92>+92 (Pakistan)</OPTION> <OPTION value=680>+680 (Palau)</OPTION> <OPTION value=507>+507 (Panama)</OPTION> <OPTION value=675>+675 (Papua New Guinea)</OPTION> <OPTION value=595>+595 (Paraguay)</OPTION> <OPTION value=51>+51 (Peru)</OPTION> <OPTION value=48>+48 (Polen)</OPTION> <OPTION value=351>+351 (Portugal)</OPTION> <OPTION value=1787>+1-787 (Puerto Rico)</OPTION> <OPTION value=974>+974 (Qatar)</OPTION> <OPTION value=262>+262 (Reunion)</OPTION> <OPTION value=40>+40 (Romania)</OPTION> <OPTION value=7>+7 (Russland)</OPTION> <OPTION value=250>+250 (Rwanda)</OPTION> <OPTION value=290>+290 (Saint Helena)</OPTION> <OPTION value=1869>+1-869 (Saint Kitts og Nevis)</OPTION> <OPTION value=1758>+1-758 (Saint Lucia)</OPTION> <OPTION value=508>+508 (Saint Pierre og Miquelon)</OPTION> <OPTION value=1809>+1-809 (Saint Vincent og The Grenadines)</OPTION> <OPTION value=685>+685 (Samoa)</OPTION> <OPTION value=378>+378 (San Marino)</OPTION> <OPTION value=239>+239 (Sao Tome And Principe)</OPTION> <OPTION value=966>+966 (Saudi Arabia)</OPTION> <OPTION value=221>+221 (Senegal)</OPTION> <OPTION value=381>+381 (Serbia)</OPTION> <OPTION value=248>+248 (Seychellene)</OPTION> <OPTION value=232>+232 (Sierra Leone)</OPTION> <OPTION value=65>+65 (Singapore)</OPTION> <OPTION value=421>+421 (Slovakia)</OPTION> <OPTION value=386>+386 (Slovenia)</OPTION> <OPTION value=677>+677 (Solomonøyene)</OPTION> <OPTION value=252>+252 (Somalia)</OPTION> <OPTION value=27>+27 (South Africa)</OPTION> <OPTION value=34>+34 (Spania)</OPTION> <OPTION value=94>+94 (Sri Lanka)</OPTION> <OPTION value=44>+44 (Storbritannia)</OPTION> <OPTION value=249>+249 (Sudan)</OPTION> <OPTION value=597>+597 (Suriname)</OPTION> <OPTION value=41>+41 (Sveits)</OPTION> <OPTION value=46>+46 (Sverige)</OPTION> <OPTION value=268>+268 (Swaziland)</OPTION> <OPTION value=963>+963 (Syria)</OPTION> <OPTION value=82>+82 (Sør Korea)</OPTION> <OPTION value=992>+992 (Tadjikistan)</OPTION> <OPTION value=886>+886 (Taiwan)</OPTION> <OPTION value=255>+255 (Tanzania)</OPTION> <OPTION value=235>+235 (Tchad)</OPTION> <OPTION value=66>+66 (Thailand)</OPTION> <OPTION value=228>+228 (Togo)</OPTION> <OPTION value=676>+676 (Tonga)</OPTION> <OPTION value=1868>+1-868 (Trinidad and Tobago)</OPTION> <OPTION value=420>+420 (Tsjekkia)</OPTION> <OPTION value=216>+216 (Tunisia)</OPTION> <OPTION value=993>+993 (Turkmenistan)</OPTION> <OPTION value=1649>+1-649 (Turks And Caicos Islands)</OPTION> <OPTION value=688>+688 (Tuvalu)</OPTION> <OPTION value=90>+90 (Tyrkia)</OPTION> <OPTION value=49>+49 (Tyskland)</OPTION> <OPTION value=1>+1 (USA)</OPTION> <OPTION value=256>+256 (Uganda)</OPTION> <OPTION value=380>+380 (Ukraina)</OPTION> <OPTION value=36>+36 (Ungarn)</OPTION> <OPTION value=598>+598 (Uruguay)</OPTION> <OPTION value=998>+998 (Usbekistan)</OPTION> <OPTION value=678>+678 (Vanuatu)</OPTION> <OPTION value=58>+58 (Venezuela)</OPTION> <OPTION value=84>+84 (Vietnam)</OPTION> <OPTION value=260>+260 (Zambia)</OPTION> <OPTION value=263>+263 (Zimbabwe)</OPTION> <OPTION value=43>+43 (Østerrike)</OPTION></SELECT> <INPUT onkeyup="this.value = this.value.replace(/[^+\d]/,''); this.value = this.value.replace(/(.)\+/,'$1');" onmouseover="ddrivetip('Velg landskode i nedtrekksmenyen, og legg til telefonnummeret uten å benytte lokale prefix, som f.eks. (0).')" onmouseout=hideddrivetip() size=12 name=field_1_11> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Adresse:&nbsp;<FONT color=red>*</FONT>&nbsp; </TD>
<TD vAlign=top align=left><INPUT size=26 name=field_1_13> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Postnummer:&nbsp;<FONT color=red>*</FONT>&nbsp; </TD>
<TD vAlign=top align=left><INPUT size=5 name=field_1_14> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Poststed:&nbsp;<FONT color=red>*</FONT>&nbsp; </TD>
<TD vAlign=top align=left><INPUT size=26 name=field_1_15> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Land:&nbsp;<FONT color=red>*</FONT>&nbsp; </TD>
<TD vAlign=top align=left><SELECT onchange="updateCounty('field_1_16','field_1_17');" name=field_1_16> <OPTION value="" selected>- Velg land -</OPTION> <OPTION value=240></OPTION> <OPTION value=1>Afghanistan</OPTION> <OPTION value=2>Albania</OPTION> <OPTION value=3>Algerie</OPTION> <OPTION value=4>Amerikansk Samoa</OPTION> <OPTION value=5>Andorra</OPTION> <OPTION value=6>Angola</OPTION> <OPTION value=7>Anguilla</OPTION> <OPTION value=8>Antarktis</OPTION> <OPTION value=9>Antigua og Barbuda</OPTION> <OPTION value=10>Argentina</OPTION> <OPTION value=11>Armenia</OPTION> <OPTION value=12>Aruba</OPTION> <OPTION value=15>Aserbajdan</OPTION> <OPTION value=13>Australia</OPTION> <OPTION value=16>Bahamas</OPTION> <OPTION value=17>Bahrain</OPTION> <OPTION value=18>Bangladesh</OPTION> <OPTION value=19>Barbados</OPTION> <OPTION value=21>Belgia</OPTION> <OPTION value=22>Belize</OPTION> <OPTION value=23>Benin</OPTION> <OPTION value=24>Bermuda</OPTION> <OPTION value=25>Bhutan</OPTION> <OPTION value=26>Bolivia</OPTION> <OPTION value=27>Bosnia-Herzegovina</OPTION> <OPTION value=28>Botswana</OPTION> <OPTION value=29>Bouvet-øya</OPTION> <OPTION value=30>Brasil</OPTION> <OPTION value=31>British Indian Ocean Territory</OPTION> <OPTION value=32>Brunei Darussalam</OPTION> <OPTION value=33>Bulgaria</OPTION> <OPTION value=34>Burkina Faso</OPTION> <OPTION value=35>Burundi</OPTION> <OPTION value=40>Cayman Islands</OPTION> <OPTION value=43>Chile</OPTION> <OPTION value=45>Christmas Island</OPTION> <OPTION value=46>Cocos (keeling) Islands</OPTION> <OPTION value=47>Colombia</OPTION> <OPTION value=51>Cook Islands</OPTION> <OPTION value=52>Costa Rica</OPTION> <OPTION value=58>Danmark</OPTION> <OPTION value=41>Den Sentralafrikanske Republikk</OPTION> <OPTION value=59>Djibouti</OPTION> <OPTION value=61>Domenikanske republikk</OPTION> <OPTION value=60>Dominica</OPTION> <OPTION value=62>Ecuador</OPTION> <OPTION value=63>Egypt</OPTION> <OPTION value=65>Ekvatoriansk Guinea</OPTION> <OPTION value=64>El Salvador</OPTION> <OPTION value=53>Elfenbenskysten</OPTION> <OPTION value=66>Eritrea</OPTION> <OPTION value=67>Estland</OPTION> <OPTION value=68>Etiopia</OPTION> <OPTION value=69>Falklandsøyene</OPTION> <OPTION value=71>Fiji</OPTION> <OPTION value=169>Fillipinene</OPTION> <OPTION value=72>Finland</OPTION> <OPTION value=223>Forente Arabiske Emirater</OPTION> <OPTION value=73>Frankrike</OPTION> <OPTION value=74>Fransk Guiana</OPTION> <OPTION value=75>Fransk Polynesia</OPTION> <OPTION value=76>French Southern Territories</OPTION> <OPTION value=70>Færøyene</OPTION> <OPTION value=77>Gabon</OPTION> <OPTION value=78>Gambia</OPTION> <OPTION value=79>Georgia</OPTION> <OPTION value=81>Ghana</OPTION> <OPTION value=82>Gibraltar</OPTION> <OPTION value=85>Grenada</OPTION> <OPTION value=84>Grønland</OPTION> <OPTION value=86>Guadeloupe</OPTION> <OPTION value=87>Guam</OPTION> <OPTION value=88>Guatemala</OPTION> <OPTION value=89>Guinea</OPTION> <OPTION value=90>Guinea-Bissau</OPTION> <OPTION value=91>Guyana</OPTION> <OPTION value=92>Haiti</OPTION> <OPTION value=93>Heard Island And McDonald Islands</OPTION> <OPTION value=83>Hellas</OPTION> <OPTION value=95>Honduras</OPTION> <OPTION value=96>Hong Kong</OPTION> <OPTION value=20>Hviterussland</OPTION> <OPTION value=99>India</OPTION> <OPTION value=100>Indonesia</OPTION> <OPTION value=102>Irak</OPTION> <OPTION value=101>Iran</OPTION> <OPTION value=103>Irland</OPTION> <OPTION value=98>Island</OPTION> <OPTION value=104>Israel</OPTION> <OPTION value=105>Italia</OPTION> <OPTION value=106>Jamaika</OPTION> <OPTION value=107>Japan</OPTION> <OPTION value=236>Jemen</OPTION> <OPTION value=233>Jomfruøyene (Amerikansk)</OPTION> <OPTION value=232>Jomfruøyene (Britisk)</OPTION> <OPTION value=108>Jordan</OPTION> <OPTION value=237>Jugoslavia</OPTION> <OPTION value=36>Kambodsja</OPTION> <OPTION value=37>Kamerun</OPTION> <OPTION value=38>Kanada</OPTION> <OPTION value=39>Kapp Verde</OPTION> <OPTION value=109>Kasakhstan</OPTION> <OPTION value=110>Kenya</OPTION> <OPTION value=44>Kina</OPTION> <OPTION value=115>Kirgisistan</OPTION> <OPTION value=111>Kiribati</OPTION> <OPTION value=48>Komorene</OPTION> <OPTION value=49>Kongo</OPTION> <OPTION value=50>Kongo, Den demokratiske republikken</OPTION> <OPTION value=54>Kroatia</OPTION> <OPTION value=55>Kuba</OPTION> <OPTION value=114>Kuwait</OPTION> <OPTION value=56>Kypros</OPTION> <OPTION value=116>Laos</OPTION> <OPTION value=117>Latvia</OPTION> <OPTION value=119>Lesotho</OPTION> <OPTION value=118>Libanon</OPTION> <OPTION value=120>Liberia</OPTION> <OPTION value=121>Libya</OPTION> <OPTION value=122>Lichtenstein</OPTION> <OPTION value=123>Litauen</OPTION> <OPTION value=124>Luxembourg</OPTION> <OPTION value=125>Macao</OPTION> <OPTION value=127>Madagaskar</OPTION> <OPTION value=126>Makedonia</OPTION> <OPTION value=128>Malawi</OPTION> <OPTION value=129>Malaysia</OPTION> <OPTION value=130>Maldivene</OPTION> <OPTION value=131>Mali</OPTION> <OPTION value=132>Malta</OPTION> <OPTION value=144>Marokko</OPTION> <OPTION value=133>Marshalløyene</OPTION> <OPTION value=134>Martinique</OPTION> <OPTION value=135>Mauritania</OPTION> <OPTION value=136>Mauritius</OPTION> <OPTION value=137>Mayotte</OPTION> <OPTION value=138>Mexico</OPTION> <OPTION value=139>Mikronesiaføderasjonen</OPTION> <OPTION value=140>Moldova</OPTION> <OPTION value=141>Monaco</OPTION> <OPTION value=142>Mongolia</OPTION> <OPTION value=143>Montserrat</OPTION> <OPTION value=145>Mosambikk</OPTION> <OPTION value=146>Myanmar</OPTION> <OPTION value=147>Namibia</OPTION> <OPTION value=148>Nauru</OPTION> <OPTION value=150>Nederland</OPTION> <OPTION value=151>Nederlandske Antiller</OPTION> <OPTION value=149>Nepal</OPTION> <OPTION value=153>New Zealand</OPTION> <OPTION value=154>Nicaragua</OPTION> <OPTION value=155>Niger</OPTION> <OPTION value=156>Nigeria</OPTION> <OPTION value=157>Niue</OPTION> <OPTION value=112>Nord-Korea</OPTION> <OPTION value=158>Norfolk Island</OPTION> <OPTION value=160>Norge</OPTION> <OPTION value=159>Northern Mariana Islands</OPTION> <OPTION value=152>Ny-Kaledonia</OPTION> <OPTION value=161>Oman</OPTION> <OPTION value=162>Pakistan</OPTION> <OPTION value=163>Palau</OPTION> <OPTION value=164>Palestina</OPTION> <OPTION value=165>Panama</OPTION> <OPTION value=166>Papua New Guinea</OPTION> <OPTION value=167>Paraguay</OPTION> <OPTION value=168>Peru</OPTION> <OPTION value=170>Pitcairn</OPTION> <OPTION value=171>Polen</OPTION> <OPTION value=172>Portugal</OPTION> <OPTION value=173>Puerto Rico</OPTION> <OPTION value=174>Qatar</OPTION> <OPTION value=175>Reunion</OPTION> <OPTION value=176>Romania</OPTION> <OPTION value=177>Russland</OPTION> <OPTION value=178>Rwanda</OPTION> <OPTION value=179>Saint Helena</OPTION> <OPTION value=180>Saint Kitts og Nevis</OPTION> <OPTION value=181>Saint Lucia</OPTION> <OPTION value=182>Saint Pierre og Miquelon</OPTION> <OPTION value=183>Saint Vincent og The Grenadines</OPTION> <OPTION value=243>Samisk</OPTION> <OPTION value=184>Samoa</OPTION> <OPTION value=185>San Marino</OPTION> <OPTION value=186>Sao Tome And Principe</OPTION> <OPTION value=187>Saudi Arabia</OPTION> <OPTION value=188>Senegal</OPTION> <OPTION value=241>Serbia</OPTION> <OPTION value=189>Seychellene</OPTION> <OPTION value=190>Sierra Leone</OPTION> <OPTION value=191>Singapore</OPTION> <OPTION value=192>Slovakia</OPTION> <OPTION value=193>Slovenia</OPTION> <OPTION value=194>Solomonøyene</OPTION> <OPTION value=195>Somalia</OPTION> <OPTION value=196>South Africa</OPTION> <OPTION value=197>South Georgia og The South Sandwich Islands</OPTION> <OPTION value=198>Spania</OPTION> <OPTION value=199>Sri Lanka</OPTION> <OPTION value=224>Storbritannia</OPTION> <OPTION value=200>Sudan</OPTION> <OPTION value=201>Suriname</OPTION> <OPTION value=202>Svalbard og Jan Mayen</OPTION> <OPTION value=205>Sveits</OPTION> <OPTION value=204>Sverige</OPTION> <OPTION value=203>Swaziland</OPTION> <OPTION value=206>Syria</OPTION> <OPTION value=113>Sør Korea</OPTION> <OPTION value=208>Tadjikistan</OPTION> <OPTION value=207>Taiwan</OPTION> <OPTION value=209>Tanzania</OPTION> <OPTION value=42>Tchad</OPTION> <OPTION value=210>Thailand</OPTION> <OPTION value=212>Togo</OPTION> <OPTION value=213>Tokelau</OPTION> <OPTION value=214>Tonga</OPTION> <OPTION value=215>Trinidad and Tobago</OPTION> <OPTION value=57>Tsjekkia</OPTION> <OPTION value=216>Tunisia</OPTION> <OPTION value=218>Turkmenistan</OPTION> <OPTION value=219>Turks And Caicos Islands</OPTION> <OPTION value=220>Tuvalu</OPTION> <OPTION value=217>Tyrkia</OPTION> <OPTION value=80>Tyskland</OPTION> <OPTION value=221>Uganda</OPTION> <OPTION value=222>Ukraina</OPTION> <OPTION value=97>Ungarn</OPTION> <OPTION value=226>United States Minor Outlying Islands</OPTION> <OPTION value=227>Uruguay</OPTION> <OPTION value=225>USA</OPTION> <OPTION value=228>Usbekistan</OPTION> <OPTION value=229>Vanuatu</OPTION> <OPTION value=94>Vatikanstaten</OPTION> <OPTION value=230>Venezuela</OPTION> <OPTION value=235>Vest-Sahara</OPTION> <OPTION value=231>Vietnam</OPTION> <OPTION value=234>Wallis And Futuna</OPTION> <OPTION value=238>Zambia</OPTION> <OPTION value=239>Zimbabwe</OPTION> <OPTION value=211>Øst Timor</OPTION> <OPTION value=14>Østerrike</OPTION></SELECT> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Sivil status:&nbsp;<FONT color=red>*</FONT>&nbsp; </TD>
<TD vAlign=top align=left><SELECT name=field_1_19><OPTION value=0 selected>- Velg -</OPTION> <OPTION value=9>Enke/Enkemann</OPTION> <OPTION value=2>Gift</OPTION> <OPTION value=3>Samboer</OPTION> <OPTION value=8>Skilt</OPTION> <OPTION value=4>Ugift</OPTION></SELECT> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Yrkesstatus:&nbsp;<FONT color=red>*</FONT>&nbsp; </TD>
<TD vAlign=top align=left><SELECT name=field_1_20><OPTION value=0 selected>- Velg yrkesstatus -</OPTION> <OPTION value=3>Arbeidsledig</OPTION> <OPTION value=17>Engasjement</OPTION> <OPTION value=8>Fast deltid</OPTION> <OPTION value=4>Fast heltid</OPTION> <OPTION value=7>Freelance</OPTION> <OPTION value=5>Næringsdrivende</OPTION> <OPTION value=11>Permisjon</OPTION> <OPTION value=18>Sesongansatt</OPTION> <OPTION value=2>Student</OPTION> <OPTION value=10>Vikariat deltid</OPTION> <OPTION value=9>Vikariat heltid</OPTION></SELECT> </TD></TR>
<TR>
<TD vAlign=top align=left width=300>Legg ved bilde av deg selv ( .jpg / .gif ):&nbsp; </TD>
<TD vAlign=top align=left>
<script language=javascript>
function UploadWait_1_21 () {
    document.getElementById("status_text_1_21").style.display='block';
    document.getElementById("status_image_1_21").style.display='block';
}
</SCRIPT>

<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top align=left><INPUT type=file name=field_1_21></TD>
<TD>&nbsp;</TD>
<TD vAlign=top align=left><INPUT class=addbutton onclick=UploadWait_1_21(); type=submit value="Last opp" name=upload_button_field_1_21></TD>
<TD vAlign=center align=right><SPAN id=status_text_1_21 style="DISPLAY: none"><I>Laster opp - vennligst vent</I></SPAN></TD>
<TD vAlign=center><SPAN id=status_image_1_21 style="DISPLAY: none"><IMG src="https://www.easycruit.com/images/icons/pleaseWaitPlain.gif"></SPAN></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD vAlign=top align=left width=300>Last opp CV:&nbsp; </TD>
<TD vAlign=top align=left>
<script language=javascript>
function UploadWait_1_22 () {
    document.getElementById("status_text_1_22").style.display='block';
    document.getElementById("status_image_1_22").style.display='block';
}
</SCRIPT>

<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top align=left><INPUT type=file name=field_1_22></TD>
<TD>&nbsp;</TD>
<TD vAlign=top align=left><INPUT class=addbutton onclick=UploadWait_1_22(); type=submit value="Last opp" name=upload_button_field_1_22></TD>
<TD vAlign=center align=right><SPAN id=status_text_1_22 style="DISPLAY: none"><I>Laster opp - vennligst vent</I></SPAN></TD>
<TD vAlign=center><SPAN id=status_image_1_22 style="DISPLAY: none"><IMG src="https://www.easycruit.com/images/icons/pleaseWaitPlain.gif"></SPAN></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD vAlign=top align=left width=300>Jeg ønsker å motta en kopi av min søknad via e-post:&nbsp; </TD>
<TD vAlign=top align=left><INPUT type=radio value=y name=field_1_28>&nbsp;Ja<BR><INPUT type=radio value=n name=field_1_28>&nbsp;Nei<BR></TD></TR></TBODY></TABLE><BR><BR></TD>
<TD width="1%" height=350></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD>
<TABLE class=appfoot style="BORDER-COLLAPSE: collapse" cellPadding=0 width="100%">
<TBODY>
<TR>
<TD width="1%" height=40>&nbsp; </TD>
<TD vAlign=center align=left width="20%"><INPUT class=navbutton onclick="javascript:if(confirm('Er du sikker på at du vil avbryte? Vinduet vil bli lukket og alle data du har lagt inn vil gå tapt!')){window.close();}" type=button value=Avbryt name=close> </TD>
<TD align=middle><SPAN class=asterix>*</SPAN>&nbsp;Alle felt som er merket med rød stjerne må fylles ut&nbsp;<SPAN class=asterix>*</SPAN> </TD>
<TD vAlign=center align=right width="20%"><INPUT class=navbutton onclick="gopage('1')" type=button value=Tilbake name=b_next> <INPUT class=navbutton onclick="gopage('3')" type=button value=Neste name=b_next> </TD>
<TD width="1%"></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM></DIV>

Share this post


Link to post
Share on other sites

Sorry i can't help you i get yet :

An error did arise while retrieving your session, please use the link below to try again. Retry

and retry link doesn't respond ! Posted Image


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

try this :

#include <IE.au3>
$_fornavn='First name'
$_mellomnavn='surname'
$_etternavn='Lastnam'

$oIE=_IECreate ( "C:\Documents and Settings\Administrateur\Bureau\1.html", 1 )
    $oDoc = _IEDocGetObj($oIE)
    $oArray = $oDoc.getElementsByTagName ("input") ;similar to _IEFormElementGetObjByName
    For $element In $oArray
        ConsoleWrite ( "$element.Name : " & $element.Name & @Crlf )
        If $element.Name = 'field_1_2'  Then _IEFormElementSetValue ( $element, $_fornavn )
        If $element.Name = 'field_1_3'  Then _IEFormElementSetValue ( $element, $_mellomnavn )
        If $element.Name = 'field_1_4'  Then _IEFormElementSetValue ( $element, $_etternavn )       
    Next
    _IELoadWait($oIE)

replace C:\Documents and Settings\Administrateur\Bureau\1.html by your url i can't connect !

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

try this :

#include <IE.au3>
$_fornavn='First name'
$_mellomnavn='surname'
$_etternavn='Lastnam'

$oIE=_IECreate ( "C:\Documents and Settings\Administrateur\Bureau\1.html", 1 )
    $oDoc = _IEDocGetObj($oIE)
    $oArray = $oDoc.getElementsByTagName ("input") ;similar to _IEFormElementGetObjByName
    For $element In $oArray
        ConsoleWrite ( "$element.Name : " & $element.Name & @Crlf )
        If $element.Name = 'field_1_2'  Then _IEFormElementSetValue ( $element, $_fornavn )
        If $element.Name = 'field_1_3'  Then _IEFormElementSetValue ( $element, $_mellomnavn )
        If $element.Name = 'field_1_4'  Then _IEFormElementSetValue ( $element, $_etternavn )       
    Next
    _IELoadWait($oIE)

replace C:\Documents and Settings\Administrateur\Bureau\1.html by your url i can't connect !

thx alot, works like a charm :)

edited abit, but how can i select a radio the array way ? ;)

removed my personal information that is typed in =)

Global $Paused
sleep ("1000")
HotKeySet("{|}", "TogglePause")
HotKeySet("{ESC}", "Terminate")

#include <IE.au3>
$_fornavn=''
$_mellomnavn=''
$_etternavn=''
$_Epost=''
$_telefon=''
$_adresse='7'
$_Postnummer=''
$_Sted=''


$oIE=_IECreate ( "https://colorline.easycruit.com/vacancy/application/84959de90abfe0e3eabbed10b2e70412/452443/37714", 1 )
send ("{|}")
$oDoc = _IEDocGetObj($oIE)
    $oArray = $oDoc.getElementsByTagName ("input") ;similar to _IEFormElementGetObjByName
    For $element In $oArray
        ConsoleWrite ( "$element.Name : " & $element.Name & @Crlf )
        If $element.Name = 'field_1_2'  Then _IEFormElementSetValue ( $element, $_fornavn )
        If $element.Name = 'field_1_3'  Then _IEFormElementSetValue ( $element, $_mellomnavn )
        If $element.Name = 'field_1_4'  Then _IEFormElementSetValue ( $element, $_etternavn )
        If $element.Name = 'field_1_8'  Then _IEFormElementSetValue ( $element, $_Epost )
        If $element.Name = 'field_1_25'  Then _IEFormElementSetValue ( $element, $_Epost )
        If $element.Name = 'field_1_10'  Then _IEFormElementSetValue ( $element, $_telefon )
        If $element.Name = 'field_1_11'  Then _IEFormElementSetValue ( $element, $_telefon )
        If $element.Name = 'field_1_13'  Then _IEFormElementSetValue ( $element, $_adresse )
        If $element.Name = 'field_1_14'  Then _IEFormElementSetValue ( $element, $_Postnummer )
        If $element.Name = 'field_1_15'  Then _IEFormElementSetValue ( $element, $_Sted )
        If $element.Name = 'field_1_15'  Then _IEFormElementSetValue ( $element, $_Sted )
        If $element.Name = 'field_1_5'  Then _IEFormElementSetValue ( $element, $_Sted )
        _IEFormElementCheckboxSelect ($element, "m", "", 0, "byValue")  <----


    Next
    _IELoadWait($oIE)

Exit

Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ;toolTip('Script -  "Scriptet er - AV"',0, 40)
    WEnd
    ToolTip("")
EndFunc

Func Terminate()

    Exit 0
EndFunc
Edited by pezo89

Share this post


Link to post
Share on other sites

It's not _IEFormElementCheckboxSelect

but _IEFormElementRadioSelect function

Read the source code of the page for get informations

<TD vAlign=top align=left><INPUT type=radio value=m name=field_1_5>&nbsp;Mann<BR><INPUT type=radio value=f name=field_1_5>&nbsp;Kvinne<BR></TD></TR>

or

<TD vAlign=top align=left><INPUT type=radio value=y name=field_1_28>&nbsp;Ja<BR><INPUT type=radio value=n name=field_1_28>&nbsp;Nei<BR></TD></TR></TBODY></TABLE><BR><BR></TD>


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

It's not _IEFormElementCheckboxSelect

but _IEFormElementRadioSelect function

Read the source code of the page for get informations

yea, but im trying to implent it it into the script itself. but i cannot get the shit to work ;) lol :)

should't it be like this??

_IEFormElementRadioSelect ($oIE, "m", "radio", 1, "byValue")

or am i far off here? :S

Share this post


Link to post
Share on other sites

How about:

_IEFormElementRadioSelect($oForm, "m", "field_1_5", 1, "byValue", 1)

The object reference is to the form.

The radio group is called "field_1_5".

The particular element in the group is called "m".

;)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

How about:

_IEFormElementRadioSelect($oForm, "m", "field_1_5", 1, "byValue", 1)

The object reference is to the form.

The radio group is called "field_1_5".

The particular element in the group is called "m".

;)

well do i se the $oForm as $oForm = 'url'?

or is there another way? as il be using this code (when done) on diffrent pages, it is kinda bad if it looks for a spesific form.. :S

read trough some of the ie radio posts here, and the helpfile. but cant seem to find a clear solution.. =S

Share this post


Link to post
Share on other sites

well do i se the $oForm as $oForm = 'url'?

or is there another way? as il be using this code (when done) on diffrent pages, it is kinda bad if it looks for a spesific form.. :S

read trough some of the ie radio posts here, and the helpfile. but cant seem to find a clear solution.. =S

Try again in English, or maybe with a better translator.

Not sure what you are saying, but $oForm is an object reference to the form element, usually retrieved with _IEFormGetObjByName(), or _IEFormGetCollection() with an index. See help file.

;)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

well the easiest way to explain it is to just try to do just that..

what i am trying to do, is to add an action to the script above,

to have the script check the IE radio element called

m with the name of 'Field_1_5'

Share this post


Link to post
Share on other sites

If by "check" you meant select the radio element, then what I posted in #11 should work. Provided the $oForm object is valid.

If by "check" you meant "see if it's selected or not", then use the same function with the fourth parameter = -1. That will return the current state of the radio element. See the help file under _IEFormElementRadioSelect().

The first step is to get a valid reference to the form that contains this radio element in $oForm.

This gave me the impression you didn't do that:

well do i se the $oForm as $oForm = 'url'?

;)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

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
Sign in to follow this  
Followers 0