Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checking existence of few fields after a selection made
#17
Solved: 11 Years, 4 Months ago
Just wondering if this could help you - it was too difficult to understand the html you sent Smile .somehow i figured out few things hopefully will get a solution soon. I noticed that may be it could be resolved using object.currentstyle.display

see the part of html below (i have simplyfied it to make it clear)
Code:
<TD vAlign=top align=left colSpan=3><SELECT
            onchange="document.MainForm.NCRIdentified.value = this.value;if(this.value=='1'){document.getElementById('ehsNonconformanceGrid').style.display ='inline';document.getElementById('ehsNonconforma=nceGrid').style.visibility = 'visible';} if(document.MainForm.NCRExist.value!='true'){document.getElementById('ehsNonconforman=ceGrid').style.display = 'none';} else{alert('You have already created Nonconformances. To change this selection you must first remove all the Nonconformances.');}"
            name=NCRIdentified_combo ID="Select1"> <OPTION value=1 selected ="selected">Yes<OPTION
              value=2>No</OPTION></SELECT>
you can see here that if Yes is selected then it sets the elements style to 'inline' else 'none'
would you like to try this and let me know if it helps?

Reply


Messages In This Thread
RE: Checking existence of few fields after a selection made - by Saket - 07-28-2010, 07:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Weblist selection diya 11 21,378 06-16-2015, 08:27 PM
Last Post: rajpradeep32
  Issue related to dropdown selection(Please help urgent) excellentpawan123 2 4,293 05-31-2014, 12:00 PM
Last Post: excellentpawan123
  How to check empty fields? ripchin 1 3,423 05-10-2014, 01:18 PM
Last Post: Ankur
  How to mask the particular read only mode fields while capturing screenshot in QTP kalaivanan123 2 3,534 03-18-2014, 11:31 AM
Last Post: basanth27
  Payment details fields are getting flushed vimalkamothi 4 3,468 01-04-2014, 11:09 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 2 Guest(s)