Jump to content
UBot Underground

How can I fill a textbox depending on the label?


Recommended Posts

I'd like to fill the textbox with the label "full name" but the name of the textbox is different on different sites, or a textbox with that name is used to hold something else (eg State).

 

<tr> 
<td class='tableCellTwo' style="width:45%;"> 
<div class='defaultBold'><span class="highlight">*</span> Full name</div> 

</td> 
<td class='tableCellOne' style="width:55%;"><input type="text" name="m_field_id_1" value="" class="input" maxlength="100" size="40" style="width:100%;" /></td> 

</tr>

 

Any suggestions?

Thanks

R

Link to post
Share on other sites

Where did you pull that code? Apparently IE is fishy and doesn't want to show ID tags sometimes. So check it out with either Opera or Firefox

 

I use Chrome but I checked in FF and it was the same. This is the source: http://www.eu4journalists.eu/index.php/forums/member/register/

 

Other sites would use a different attribute name for full name, and also other fields eg state using name m_field_id_1.

 

Thanks

R

Link to post
Share on other sites

I use Chrome but I checked in FF and it was the same. This is the source: http://www.eu4journalists.eu/index.php/forums/member/register/

 

Other sites would use a different attribute name for full name, and also other fields eg state using name m_field_id_1.

 

Thanks

R

 

Apparently ubot can't identify the different id on different sites although the label is the same. Check out this thread, I got the same problem too. And it is also on expression engines sites.. :)

 

http://ubotstudio.com/forum/index.php?/topic/3245-cant-chose-a-innertext-attribute-and-change-the-input-text-field-via-chose-by-attribute-command/page__fromsearch__1

Link to post
Share on other sites

Apparently ubot can't identify the different id on different sites although the label is the same. Check out this thread, I got the same problem too. And it is also on expression engines sites.. :)

 

http://ubotstudio.com/forum/index.php?/topic/3245-cant-chose-a-innertext-attribute-and-change-the-input-text-field-via-chose-by-attribute-command/page__fromsearch__1

 

Thanks for the suggestion Eric.

Link to post
Share on other sites
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...