Highlighted
Super Contributor.. Super Contributor..
Super Contributor..
302 views

difficult time in capturing a value using web_reg_save_param.

All,

 

I am having a difficult time in capturing a value.  This value may be null and it could have 1 to 10 rows.  I have pasted the source code below. I have  the value I am looking for.  Each row is labeled with a selectedkey input.  In order for me to script this correctly I need to find if any of the selectedkey rows have null values.  I will need to do a loop until all null selectedkey values are populated.  The value could be different  (approved, working, initiated, ...)  Any assistance is greatly appreciated.

 

 

<input id="selectedKey1" name="selectedKey" type="radio" value="23456.4"/><label for="selectedKey1" class="offscreen">Select a Production History</label>
                                                                                                                     
                                                       </td>
                                                       <td class="nameLeft">     
                                                              FOREST LAWN
                                                       </td>
                                                       <td class="numberRight">
                                                              1234
                                                        </td>
                                                       <td class="numberRight">
                                                              123
                                                       </td>
                                                       <td class="nameLeft">
                                                              FOREST LAWN
                                                       </td>
                                                       <td class="numberRight">
                                                             
                                                                     89,032
                                                             
                                                       </td>
                                                       <td class="nameLeft">
                                                             
                                                                     Approved
                                                             
                                                       </td>
                                                </tr>
                                         
                                                                                                
                                                <tr bgcolor="#B8C9B9">

                                                       <td style="padding-left: 1.1em;">
                                                              
                                                                     
                                                                           <input id="selectedKey2" name="selectedKey" type="radio" value="12345.1"/><label for="selectedKey2" class="offscreen">Select a Produciton History</label>
                                                                    
                                                             
                                                       </td>
                                                       <td class="nameLeft">     
                                                             FOREST LAWN
                                                       </td>
                                                       <td class="numberRight">
                                                              2345
                                                        </td>
                                                       <td class="numberRight">
                                                              12345
                                                       </td>
                                                       <td class="nameLeft">
                                                              FOREST LAWN
                                                       </td>
                                                       <td class="numberRight">
                                                             
                                                       </td>
                                                       <td class="nameLeft">
                                                             
                                                       </td>
                                                </tr>
                                        
                                               
                                               
                                                <tr bgcolor="">

                                                       <td style="padding-left: 1.1em;">
                                                              
                                                              <input id="selectedKey3" name="selectedKey" type="radio" value="98765.1"/><label for="selectedKey3" class="offscreen">Select a Produciton History</label>
                                                                    
                                                             
                                                       </td>
                                                       <td class="nameLeft">     
                                                              FOREST LAWN
                                                       </td>
                                                       <td class="numberRight">
                                                              3456
                                                        </td>
                                                       <td class="numberRight">
                                                              45678 
                                                       </td>
                                                       <td class="nameLeft">
                                                              FOREST LAWN
                                                       </td>
                                                       <td class="numberRight">
                                                             
                                                       </td>
                                                       <td class="nameLeft">
                                                             
                                                       </td>
                                                </tr>
                                         
                                             
                                                <tr bgcolor="#B8C9B9">

                                                       <td style="padding-left: 1.1em;">

Boatnlarry
0 Likes
1 Reply
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: difficult time in capturing a value using web_reg_save_param.

Below is what i see when I turn on extended logging.

 

.c(34):     \t\t\t\t\t\t\t\t<td class="nameLeft">\r\n
.c(34):     \t\t\t\t\t\t\t\t\t\r\n
.c(34):     \t\t\t\t\t\t\t\t\t\tApproved\r\n
.c(34):     \t\t\t\t\t\t\t\t\t\r\n
.c(34):     \t\t\t\t\t\t\t\t</td>\r\n

 

this what the row with nodata looks like

 

.c(34):     \t\t\t\t\t\t\t\t<td class="nameLeft">\r\n
.c(34):     \t\t\t\t\t\t\t\t\t\r\n
.c(34):     \t\t\t\t\t\t\t\t</td>\r\n

Boatnlarry
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.