Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Adding a Search button and textbox to a report
Migrateduser
<p>Hey,</p>
<p> </p>
<p>We are using version 4.2.2 of BIRT.</p>
<p> </p>
<p>I'm trying to add the ability for the user to search through the results in a table.</p>
<p>To do this I need to add a text box and then a button which when clicked will refresh the current report and pass in the value from the text box as a report parameter? The button also needs the style that is used to match the rest of the UI.</p>
<p> </p>
<p>I currently have it working using something like this in a dynamic text field</p>
<p> </p>
<p><span style="font-size:10px;"><form method="POST" name="reportForm"><br>
<input type="hidden" name="__report" value="TEST.rptdesign" /><br>
<input type="text" name="rpFN_ID"><br>
<input type="submit" value="Search"<br>
style=" background-color: green;<br>
font-weight: bold;<br>
font-size: 8pt;<br>
font-family: Arial;<br>
border: outset medium;<br>
margin: 0;<br>
line-height: normal;<br>
vertical-align: middle;<br>
vertical-align: auto;<br>
text-align: center;<br>
white-space: nowrap;"/><br><br>
</form></span><br>
</p>
<p>The report parameter that is doing the filtering in the where statement in the data set is rpFN_ID.</p>
<p> </p>
<p>The only issue with doing it like this is that the button has a blue box around it (which normally would mean that it is in focus after tabbing to it) The way to fix this is to tab to it and then tab off it. It also gets this blue box when the text box is selected since it's in the same report item.</p>
<p> </p>
<p>I've tried to separate the button and text box but have not been able to get it to work correctly.</p>
<p> </p>
<p>Any ideas on how to do this separately and make it not get the blue box when not tabbed to?</p>
<p> </p>
<p> </p>
<p>Note: I've attached a screen shot showing the blue box that appears around the button, along with how it looks after I tab to the button and away from it.</p>
<p> </p>
<p>Thanks for any help</p>
Find more posts tagged with
Comments
There are no comments yet