Search form option
hello experts can u plz tell me y iam nt getting search form option in sdn..... previously i used to get but now iam nt getting it....
the form option is very important for a beginner to learn.... plz provide that option.....
Hi Sathesh,
Can you please share the solution with us, I am alos looking to implement the same thing in my Form.
Thanks,
Amita
Similar Messages
-
Search Form in Jdeveloper 10.1.3
Can any body help me how to create search from in Jdeveloper 10.1.3?
Because I found search form in 11g by using view criteria, but this is not available in 10.1.3 version
Thank youCorrect, there's no such component in 10.1.3.
Instead look to the ExecuteWithParams option in the 10.1.3 Fusion Dev Guide.
CM. -
Creating a Search form for Captivate courses
I've been asked to create a search form for our online courses. We do not use the TOC in our courses so the Find field in the TOC is not an option. Here are the ideas I've had so far:
a Javascript-powered form search
a search form widget
a Google search embedded into the surrounding HTML page (But I don't think that Google can "see" text inside the Captivate SWF object...)
Right now, we are using Captivate 5.5, but do plan to move to Captivate 6.0 fairly soon. I'm grateful for any ideas.
Thanks!
PeterYou're hitting a bug. See ADF Faces Classical Search Form works only with Entity base VO in JDev 11? for a workaround suggestion.
-
Firefox sync creates duplicate search/form history results
I have Firefox synced on 3 PCs and a laptop. Some of the sites I visit, sync creates multiple duplicates in form/search boxes. Two that I know of for sure are outlook/hotmail (the box you enter your e-mail address) and my bank website (where I enter my account name). For example, I would see 2 or 3 options to select the same e-mail address in the dropdown history box. If I go to delete all but one of them, it disappears completely the next time so I have zero options.
This also only happens on some of my computers. Some of them only have one option (which is how it should be).
Minor issue, but it's kind of bothersome.I don't use any sync add ons. The add ons I use are flash video downloader and custom new tab.
The duplicates are only on my 'other' devices, not my main device (the one I use the most and the one I created my sync account on). I'll have to wait until I get time to go on my other devices to take a screenshot. For now, this is what I mean. Here is the outlook/hotmail sign in page:
http://www.icts.canterbury.ac.nz/graphics/outlook.com%20login%20screen.JPG
When I press the down arrow in the account name box, I see 2-3 entries of the same e-mail address. Again, on my main PC, I would only see one entry of my e-mail address (like I should). This also happens on my bank website.
When I try to delete the duplicates and only keep one entry, the next time I visit the page, they're all gone. So it seems like there's some bug in the search/form history sync. -
I have a search form that contains 5 drop-down menus.
I want users to be able to search by any combination of these
drop-down menus.
For example, users might only want to search using drop-down
menus #1 and #4, so I don't want anything from the other drop-down
menus to be entered as search parameters.
Can anyone suggest an approach to achieve this?
I was thinking of including checkboxes next to each
drop-menu. If the checkbox is checked, then that drop-down menu
parameter is included in the search. I'm not quite sure how to go
about coding this, though, and I'm not sure if this is the right
approach.
Thank you for any suggestions!Hi everybody,
Thank you for helping me with this. The search form and query
below enable the user to search by any combination of parameters
based on their selections in the drop-down menus.
I had 5 parameters, so things were getting a little out of
control with the cfif statements. A friend suggested that I use '%'
instead, since % is a wildcard and matches everything.
In the query below, I replaced "=" with "like" to accommodate
the usage of %.
Does it make sense to use %? I'm wondering if this might
cause any problems for one reason or another. So far, the search
form is working exactly as intended, and it avoids using many cfif
statements.
Thank you,
Luke
Here is the search form, which references different queries
to populate the drop-down menus. "%" is entered for the "Do not
search by..." option.
<form action="search_action.cfm" method="post">
<br><br>
Location:
<select name="locationID">
<option value="%">Do not search by
location</option>
<cfoutput query="getlocs">
<option
value="#getlocs.locationid#">#location#</option>
</cfoutput>
</select>
<br><br>
Cohort:
<select name="cohortID">
<option value="%">Do not search by
cohort</option>
<cfoutput query="getcoh">
<option
value="#getcoh.cohortid#">#cohortname#</option>
</cfoutput>
</select>
<br><br>
Category:
<select name="categoryID">
<option value="%">Do not search by
category</option>
<cfoutput query="getcats">
<option
value="#getcats.categoryid#">#category#</option>
</cfoutput>
</select>
<br><br>
Theme:
<select name="themeID">
<option value="%">Do not search by theme</option>
<cfoutput query="getthemes">
<option
value="#getthemes.themeid#">#theme#</option>
</cfoutput>
</select>
<br><br>
Subtheme:
<select name="subthemeID">
<option value="%">Do not search by
subtheme</option>
<cfoutput query="getsubs">
<option
value="#getsubs.subthemeid#">#subtheme#</option>
</cfoutput>
</select>
<br><br>
<!-- reset button -->
<INPUT TYPE="Reset" NAME="ResetForm" VALUE="Clear
Form">
<!-- submit button -->
<INPUT TYPE="Submit" NAME="SubmitForm" VALUE="Submit">
</FORM>
Here is the query:
<CFQUERY NAME="query" DATASOURCE="datasource">
SELECT *
FROM quotes, cohorts, themes, categories, subthemes,
locations
Where cohorts.cohortid = quotes.frn_cohortid
and themes.themeid = quotes.frn_themeid
and locations.locationid = quotes.frn_locationid
and categories.categoryid = quotes.frn_categoryid
and subthemes.subthemeid = quotes.frn_subthemeid
AND quotes.frn_CohortID like '#Form.CohortID#'
AND quotes.frn_ThemeID like '#Form.ThemeID#'
AND quotes.frn_locationID like '#Form.locationID#'
AND quotes.frn_categoryID like '#Form.categoryID#'
AND quotes.frn_subThemeID like '#Form.subThemeID#'
</CFQUERY> -
Every time I tried in the past to sign on to gmail, Firefox asked me if I wanted my sign-in info remembered. I said "never for this site." But the damned pop up kept coming up and I hit the wrong button or something. Now it automatically signs me on to gmail, which would be great if I didn't have 4 nosy office mates. I can't figure out how to stop it. Tools to Clear won't let me checkmark Search & Form History! I don't know what to do.
The user name can be stored as form data, but passwords are never stored as form data, only as name and password in the Password Manager and you can use a master password to protect passwords stored in it.
*Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
*https://support.mozilla.org/kb/Protecting+stored+passwords+using+a+master+password
There is a difference between remembering the name and password in the Password Manager and a "remember me" check box on a web page to log you in automatically.<br />
The latter usually involves the creation of a special "remember me" cookie that is stored on your computer and that is send to the server.<br />
If that "remember me" cookie is removed then the server won't remember you anymore and you need to sign in once again.
*Tools > Options > Privacy > Cookies: "Show Cookies"
* http://kb.mozillazine.org/Cookies -
Enhancement reqest: Advanced Search form
I would like to request another form wizard like all the great ones already there. A Advanced Search form wizard.
Basically a form that asks for a bunch of query items like those found on any Advanced Search form and depending on which ones are non-blank, constructs a dynamic query and populates a SQL query region when the Search button is pressed.
ThanksFrom what I can tell from each of the examplesthere
is no option to specify any kind of compoundcriteria
syntax for a single field, as I pointed out in my
earlier post, e.g. where id=1 or id=2 and type=6and
type=7. That kind of thing.Right, but (IMHO) your UI is approaching the problem
too "literally" i.e. too much in terms of the
underlying SQL. You are making the user literally
think in terms of a SQL SELECT statement.I agree to some extent - it clearly looks like a query builder - but the UI provides an abstraction layer so the user doesn't have to worry about typing the underlying syntax correctly.
And remember, this is a business application - not Google. In my experience users of business applications are pretty demanding when it comes to getting at their data. Not that I want to perpetuate bad designs on anyone. I just want to make sure the user has the tools they need. And they want field level searching.
>
P.S. I've already implemented a basic searchfunction
at the top of each report page that let's the user
enter a single value that will do an 'OR' againstall
the fields in the view. It's just that the userRight, thats the way most search functions work. You
type a keyword and the system does a full-text
case-insensitive search for that keyword across a
pre-determined set of columns.
doesn't really have any control over which fieldsare
tested against the value.Another way to approach this would be to put up a
single search text field and list all the columns you
want to search across as checkboxes. User can select
the column(s) he wants the keyword to be searched
in.
Your example of multiple predicates on the same
column is a little unusual, but
where id=6 or id=7Unusual, perhaps..., until you get a request from someone that wants to find all the equipment with serial numbers between XYZ123456 and XYZ2345678. ;>)
This can be implemented as a multi select list (or N
separate text fields) where user can select/enter
each value and you go and build the resulting SQL.I've thought of making the values select lists based on valid entries that exist in the table for a couple of cases where it might be appropriate - but I need to get basic function working first.
>
Just some ideas...
ThanksThanks again for your thoughts. I have an example page on OTN that give the beginnings of my idea here: http://htmldb.oracle.com/pls/otn/f?p=36337:14 It's not fully functional yet but if you click the Search button it will throw the where clause in the text box at the bottom of the page. Let me know what you think if you get a chance.
Earl -
Search form asp multiple fields access database
Hello everyone:
I do really need help guys. Using ASPVBScript on Dreamweaver CS3
It’s all about search and results page.
Search Form
This form contains 6 list/menus:
Ref, New_resale, Town, Type_English, Bedrooms, Bathrooms.
In all of them I have an option “All”, the idea is if you choose “All” the results page displays all the records of the DB. I don’t know how to do this.
The way I have it now is if you choose from the list/menus data matching the data on the DB it will display it on the results page with no problem.
Example of what I need the "All" for.
I choose “All” from Ref list/menu.
Then if I choose matching data from DB for the rest of list/menus. The desire result should be the results page displaying all the records matching all list/menu data exept Ref. Basically is searching the DB for matching data independently of Ref if you choose “All” from the list/menu.
This is the code for the results page:
<%
Dim Search_properties__varRef
Search_properties__varRef = "%"
If (Request.Form("Ref") <> "") Then
Search_properties__varRef = Request.Form("Ref")
End If
%>
<%
Dim Search_properties__varNew_resale
Search_properties__varNew_resale = "%"
If (Request.Form("New_resale") <> "") Then
Search_properties__varNew_resale = Request.Form("New_resale")
End If
%>
<%
Dim Search_properties__varTown
Search_properties__varTown = "%"
If (Request.Form("Town") <> "") Then
Search_properties__varTown = Request.Form("Town")
End If
%>
<%
Dim Search_properties__varType_English
Search_properties__varType_English = "%"
If (Request.Form("Type_English") <> "") Then
Search_properties__varType_English = Request.Form("Type_English")
End If
%>
<%
Dim Search_properties__varBedrooms
Search_properties__varBedrooms = "%"
If (Request.Form("Bedrooms") <> "") Then
Search_properties__varBedrooms = Request.Form("Bedrooms")
End If
%>
<%
Dim Search_properties__varBathrooms
Search_properties__varBathrooms = "%"
If (Request.Form("Bathrooms") <> "") Then
Search_properties__varBathrooms = Request.Form("Bathrooms")
End If
%>
<%
Dim Search_properties
Dim Search_properties_cmd
Dim Search_properties_numRows
Set Search_properties_cmd = Server.CreateObject ("ADODB.Command")
Search_properties_cmd.ActiveConnection = MM_amanda_STRING
Search_properties_cmd.CommandText = "SELECT * FROM [Resale Properties] WHERE Ref = ? AND ? = New_resale AND ? = Town AND ? = Type_English AND ? = Bedrooms AND ? = Bathrooms ORDER BY [Ref] ASC"
Search_properties_cmd.Prepared = true
Search_properties_cmd.Parameters.Append Search_properties_cmd.CreateParameter("param1", 200, 1, 255, Search_properties__varRef) ' adVarChar
Search_properties_cmd.Parameters.Append Search_properties_cmd.CreateParameter("param2", 200, 1, 255, Search_properties__varNew_resale) ' adVarChar
Search_properties_cmd.Parameters.Append Search_properties_cmd.CreateParameter("param3", 200, 1, 255, Search_properties__varTown) ' adVarChar
Search_properties_cmd.Parameters.Append Search_properties_cmd.CreateParameter("param4", 200, 1, 255, Search_properties__varType_English) ' adVarChar
Search_properties_cmd.Parameters.Append Search_properties_cmd.CreateParameter("param5", 200, 1, 255, Search_properties__varBedrooms) ' adVarChar
Search_properties_cmd.Parameters.Append Search_properties_cmd.CreateParameter("param6", 200, 1, 255, Search_properties__varBathrooms) ' adVarChar
Set Search_properties = Search_properties_cmd.Execute
Search_properties_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = 10
Repeat1__index = 0
Search_properties_numRows = Search_properties_numRows + Repeat1__numRows
%>
<%
Dim MM_paramName
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth
Dim MM_removeList
Dim MM_item
Dim MM_nextItem
' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then
MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If
MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""
' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
End If
Next
' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
End If
Next
' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
If (MM_keepBoth <> "") Then
MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
End If
If (MM_keepURL <> "") Then
MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> "") Then
MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If
' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
If (firstItem <> "") Then
MM_joinChar = "&"
Else
MM_joinChar = ""
End If
End Function
%>
Thanks a lot for your help. I hope you can give and hand.
Cheers,
JohnnyThe best method would be to construct the SQL statement dynamically, removing conditions from the WHERE clause if value 'ALL' is contained in the form field. You'll need to compare each form field value and then append the WHERE clause accordingly. Of course, you will need to have reasonable SQL and VBScript skills to accomplish this.
Also, I see you table name has a space in it. Tables and column names should never contain spaces - it leads to problems. -
Hello.
I am trying to build a search form for my DB following the instructions of the "Developing Rich Web Applications with Oracle ADF" tutorial.
One of the attributes I want to search (which is a field of a table in the DB) is of the type CLOB, but it is marked as non-queryable, and the checkbox is disabled so I cannot make it queryable.
Is there any way to query CLOBs using the built-in search form? I know CLOBs can be queryed in Oracle.
Thank you very much.Timo,
You're confusing Oracle Text (or whatever it's called now) with CLOB datatype , although a text index on a clob column would be ok.
You can use LIKE on clob columns, but not direct comparison with a string:
SQL*Plus: Release 11.2.0.3.0 Production on Fri May 11 14:44:32 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> create table john(x clob);
Table created.
SQL> select * from john where x like 'foo%';
no rows selected
SQL> select * from john where x = 'xx';
select * from john where x = 'xx'
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected - got CLOB
John -
Not Able to put LOV in search form fields
Hi
I created the search form using Bindvariables.In my application i am using only JSF,ADF BC,trindad components(In Mobile apps,we have to use only trinidad comp's).
I want search fields as LOv's .
In AppModule,under view,ExecuteWithParams i have bindvariables.while dragging them i selected the selectonechoice ,in Edit List Binding Window,for base datasource i am giving one VO,and for list Data Source i am giving different VO .
everithing is fine.but when i click 'ok' Button,it is giving th efollowing error.
The selected target attribute has read-only access.please select an updateable attribute
what is the Wrong i am doing?
PLease anyone help me in figuring out my problem?
I want to make the search fields as LOV in search form.so that user no need to enter the data in to them.simply can select the value from LOVand find out the results .
Sailaja.what actulay is the problem.. i triied it , this is working fine.
I guess just in the lov you have made make both the fields updatable
Edited by: Rohit Hoon on Apr 23, 2009 2:13 AM -
Looking for help to develop data search form
I have built a SQL Query that produces a data set of
approximately 60,000 records which includes last_names,
First_names, ID_numbers, Office_Names, Association_Names, and
Member_Type fields. I have created a table that displays ten
records at a time (in alphabetical order by last, first name). I
want to (1) be able to search for a specific person in the dataset,
and then once I find him/her, (2) be able to click on their
ID_Number to select it and then go to another page with their
ID_Number.
I have not been able to find documentation on conducting
searches of datasets. I am using classic ASP for server side
scripting (though I am brand new at this).
Any assistance you might be able to provide will be most
gratefully appreciated.
Thanks very much,
Austin> Thank you Murray for your kind response. I am not
entirely sure how to do
> this. I suspect if I create a simple form with First and
Last Name Fields
> and
> a Submit button and then POST the content of that form
to a 'processor'
> page
> this is a good place to start???????
That would surely work.
> But I am not entirely sure how to insert those two items
into the query on
> the
> processor page. Can you point me to any documentation or
tutorial that
> might
> help me along with this?
The search form posts its results to the processor page. The
processor page
retrieves those form values from the $_POST array, and uses
them to
formulate a new SQL SELECT statement, identical to the old
one, except with
the inclusion of the first and last name values from the
$_POST array in the
WHERE statement.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"AustinMoran" <[email protected]> wrote in
message
news:g914dr$rig$[email protected]..
> Thank you Murray for your kind response. I am not
entirely sure how to do
> this. I suspect if I create a simple form with First and
Last Name Fields
> and
> a Submit button and then POST the content of that form
to a 'processor'
> page
> this is a good place to start???????
>
> But I am not entirely sure how to insert those two items
into the query on
> the
> processor page. Can you point me to any documentation or
tutorial that
> might
> help me along with this?
>
> I am sorry to be such a bother with this. I have a
handful of books, but
> none
> of them touch on this and I am at a loss.
>
> Thanks again for your kind helpfulness.
>
> Austin
> -
How to get the SQL Query statement of a Search Form ?
Hi all,
We have a requirement to send the query result of an ADF Search Form into report application (Crystal rpt).
Crystal can accept data source as query statement. SO I think of getting the exact query statement "generated" by the ADF Search form and send it to crystal.
Is this possible ?
Thank you very much,
xtantoTry the various get methods of the viewObject such as getQuery:
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtAnchor.getQuery%28%29/vtTopicFile.bc4jjavadoc%7Crt%7Coracle%7Cjbo%7CViewObject%7Ehtml/ -
How to use Multiple Keywords in a Search Form?
I'm currently using a bind variable on the view object to generate a search form where the user enters one keyword that is applied to the WHERE cause of the SQL query.
The problem is I'm trying to implement a Google-type search, where the user can enter multiple keywords in a single text input area. I then want to parse out those keywords and search the database on each keyword (similar to a Google search.) Can someone please help me point me in the right direction as to where / how to code in the appropriate hooks to accomplish this?
Example:
(user input) Enter Search Keywords: keyword1 keyword2 keyword3.. keywordn
database query:
Select item from table where (desc like '%keyword1%') or .. (desc like '%keywordn%') or
(category like '%keyword1%') or .. (category like '%keywordn%')Can't you parse what was entered and create a number of view criteria rows, then apply them? At that point, they would be 'OR'd together'.
-
Creating a search form based on a table.
Hello,
I'm currently trying to create a search form which performs a searchquery in values stored in a table in my database.
The table is filled peoples names,lastnames ,telephonenumbers and departments.
I can use the sample application to make a form based on the tableview but this returns a search textfield for every column in the table. I just want 1 searchfield/textfield to search on ALL columns at the same time and display the other fields as labels when returning the queryresults.
I tried searching the forums for an explanation on how to build said form and I checked Metalink but I have yet to find one. Anyone out there willing to help me out?
thanks in advance,
Melvin K.Why not use an instr with your data in a bind variable in your where clause for the select?? Page 1 sets an item called P2_Parameter with your value string slightly modified ('12345','345632','645534534','3434344')
Select a,b,c,d,e from some_table where INSTR(TO_CHAR(Lookup_column,'099999999'),:P2_Parameter)
Maybe that will work? Its off the top of my head, but should get you what you want.. (But to agree with one of the other posters, it is a BAD Design..) I would try like an interactive report to allow them to enter in acct #'s or whatever these are and let them access the rows that way..
Thank you,
Tony Miller
Webster, TX -
How to create a search form? - Jdev TP4 11.1.1.0.0
Hi,
I am using Jdev TP4 11.1.1.0.0.
I have a af:table which is based on a view. I want to have a search form on top of this af:table to query based on the selection in the search form. I have 15 columns in the view. When I drag and drop the "All queriable attributes" from the named criteria I get all these columns in the search form. I need only 3 of the columns in the search form and the af:table should query based on the selection. How can I achieve this? Any help. Thanks in advance.You can create a new named query with only these three columns in the where clause and use that.
Or you can drag the VO as a search form and remove the columns you don't need.
Maybe you are looking for
-
1. I recieved a new iphone 4 after a repair right as itunes 10.5 was released. 2. In order to activate my phone I needed to sync with itunes, so I decided to update itunes before I activated my phone so it would download the new features. 3a. During
-
Slow moving and non moving inventory
Hi Guru's, I have to prepare a report of slow moving and dead stock report. so can anybody will help please....
-
I want to preload some images with the MediaTracker, total size of the images is 28 MB. I added all images to a MediaTracker object then called waitForAll(). The Problem is that I always get the java.lang.OutOfMemory error. How can it be that the VM
-
Hello, I want to know how can I put a Button on a Query. I want to put a Print Button. I know that in the left button there is a option to print. I want to know if I can put that option as a Button directly in the web page of the query. Thank you in
-
Published test site. Contact form misaligned on page. Chrome and Safari. Need fix for client review. Solutions??