Making a Submit button do 2 things

I have a simple asp page that inserts a new record into an
Access db. I used Dreamweaver's insert record wizard to create it
and it works fine.
When the user clicks the "submit" button that actually
inserts the record into the database, I'd like to have it also
automatically send an email to someone notifying them that a new
record has been added. I'd be content with it just having a
sentence in the subject line, with nothing in the message area.
Can it be done? If so, how?

It is fairly easy. All you need to do is grab some email code
and insert it
in the insert code just above where it does the
response.redirect to go to
your success page.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"jwcrosby" <[email protected]> wrote in
message
news:f5euiq$fj7$[email protected]..
>I have a simple asp page that inserts a new record into
an Access db. I
>used
> Dreamweaver's insert record wizard to create it and it
works fine.
>
> When the user clicks the "submit" button that actually
inserts the record
> into
> the database, I'd like to have it also automatically
send an email to
> someone
> notifying them that a new record has been added. I'd be
content with it
> just
> having a sentence in the subject line, with nothing in
the message area.
>
> Can it be done? If so, how?
>

Similar Messages

  • Fighting with Submit Button and Return Address / distributing Forms

    I go crazy, too ! We designed some smart forms for a new evaluation process, too, and had a successfully test within our IT collegues. Now we handed the process over to the users, and the problems are on!
    We made sure that everyone uses the same version of Adobe 9.1.2 Pro - but not 2 users do have the same results.
    We found following 2 major issues:
    1) When opening the _distributed.pdf - users either completly missing the pink bar with  Highlight fields / Submit Form
    or, very odd, just the Submit Form button
    2) For those who fortunatly have the Submit Button, another odd thing happens:
    The Send form correctly shows the to: address .....
    Our Desktop Email Application is Notes...
    Guess what .... Now the Email adress changes to [email protected]   ( this worked fine in our testings before...)
    Do you have any clue from where this address is pulled ???? We checked the identitity Info in the Adobe installation at the users computers, the email and name entries are correct there.....
    Please help !!!

    I am pretty sure the answer is in the script. I have put together pieces of script from other suggestions and I am pretty sure I have ascrewed something up  along teh way. I have looked at the attached link and that is where I got some of the script you see below. I am sure you will refer to me as the hatchet person who chopped the script up. sorry. (It is in the Mouse Up) This does work, sort of...It will give the user the message that the required fields are not filed in if they are blank, but it will send the email, but without the custom message in the subject line.
    if (employeename.rawValue != null || employeename.rawValue != "") {
    vSubject  = "Form completed by " + employeename.rawValue;
    vBody = "The form has been sent by " + employeename.rawValue;
    if  (completedate.rawValue != null || completedate.rawValue != "") {
    vBody   = vBody + " on " + completedate.rawValue;
    if  (EmployeeID.rawValue != null || EmployeeID.rawValue != "") {
    vBody = vBody + " Your ID is: " + EmployeeName.rawValue;
    var oDoc = event.target;
    oDoc.mailDoc({
         bUI: false, 
         cTo: "[email protected]",     cSubject: "Statement from " + EmployeeName.rawValue + "

  • Can the submit button be deleted

    For the convenience of our learners, my manager would like me
    to delete the submit button from the multiple choice questions we
    are using in our movie. He would Captivate to provide feedback
    immediately after the learner clicks his/her answer in the radio
    button. Is this possible?
    Note that I have tried making the submit button transparent
    and placing it behind the radio buttons for all answer options.
    When this is done and an attempt is made to click a radio button,
    the radio buttons are unavailable and a failure message appears.
    Apparently, the submit button is over the radio buttons or at least
    not transparent so that they can be affected.
    JazzAl

    Rick:
    One more thought about eliminating the Submit button on
    multiple-choice questions.
    I now know that:
    1. I cannot delete the Submit button from a
    Captivate-generated multiple-choice question
    2. The function that the Submit button performs must be
    retained in multiple-choice questions to enable the scoring
    function, which I want to retain.
    3. Although I can make the Submit button transparent and put
    it in the same location as the answer options' radio buttons to try
    to make the learner's one click (that selects the answer option)
    activate both the radio button and the Submit button, the result of
    the click will be only clicking the Submit button. The radio button
    does not get marked as being selected.
    I would like to do some further work on trying to allow the
    learner to select his/her answer and click the Submit button on one
    click.
    On the theory that the radio button and the Submit button
    cannot be selected in one click because the is because the Submit
    button is in front of the radio button, I wonder if it might be
    worth it to try to go into the files that support the building of
    multiple-choice questions and attempt to change the layering order
    so that the radio buttons are in front of the Submit button? Do you
    think can be done? Do you think it might work? Thanks for any
    insights you might have on this idea.
    JazzAl

  • Help with making an Email Submit button on a form!

    Im making a form using livecycle for the first time.
    Im trying to put on it a email submit button - i used email submit field and made the button. Then in the Objects Palette, in the box that says email address i put in the email address that i want it to be sent to. I then tried to email the form, and i received an email, but the attachment was just a bunch of codes, not the form. I want the email to come through with the PDF form.
    I searched on help and this is what i found:
    3.
    In the Control Type area, select Submit. Data will be submitted according to the settings in the Submit tab.
    4.
    Click the Submit tab and type the URL protocol in the Submit to URL box.
    To
    Use this URL protocol
    Example
    Submit the package to an ftp site
    ftp
    ftp://ftp.gnu.org/gnu/GPL
    Submit the package to a web server
    http
    http://myserver/cgi-bin/
    Submit the package to a secure web server
    https
    https://myserver/cgi-bin/
    Submit the package to an email address
    mailto
    mailto:[email protected]
    5.
    Select PDF from the Submit As list.
    I cant find where to change these options - can someone help?
    Thanks!

    Hi,
    The issue is that if the form is not Reader Enabled, then users with Reader cannot submit the form as a PDF.
    They can submit it as an XML file and then you would re-import this back into the form on receipt. It is an extra step, but it does have the advantage that the data being submitted as an XML file is very small.
    If you really need/want the form to be submitted as a PDF AND your users have Reader, then the form will have to be Reader Enabled.
    There are two options:
    Reader Enable using Acrobat Standard (version 9) or Acrobat Professional (version 8). This will give certain rights, like the ability for users with Reader to save the form and for the form to be submitted as a PDF. However there are licensing restrictions, see EULA.
    The other option is to Reader Enable the form using LiveCycle Reader Extensions ES2. This is a server product, which entails additional cost and a cost to Reader Enable each form. It is intended for processing large volumes of forms/large volumes of data.
    There is a summary here:
    http://assure.ly/gYyYc2
    So there are a couple of options.
    Form NOT Reader Enabled:
    Users cannot save the data they input.
    Data must be submitted as an XML file and processed on receipt.
    Form IS Reader Enabled:
    Users can save the data they input.
    Data can be submitted as a PDF (or XML file).
    Hope that helps,
    Niall
    Assure Dynamics

  • Making Page look same in All Pixels & Writing code for Submit Button.

    Hello All,
    How to make the page look the same in all computers even though the pixels are different?
    Please help me in this regard.
    More Over if I want write the code for Submit button where the code should be written.
    Whether the code is different from normal ABAP coding?
    Warm Regards,
    SampathKumar G.

    Hi Sampath,
    You can trigger mandatory field checks in WDA as in R/3. For this you need to make the "state" property of your input field to "required".
    In addition to this you need to call the static method check_mandatory_attr_on_view of class cl_wd_dynamic_tool. This would then automatically verify if all the mandatory fields have been filled or not. It would then populate the error messages into an internal table and display them in the view. Also the mandatory fields which haven't been filled would be highlighted with a red border. You need to put the below coding into the action up on which you want to trigger the data chesks.
    data: lt_msg TYPE cl_wd_dynamic_tool=>t_check_result_message_tab,
              lo_view_controller TYPE REF TO if_wd_view_controller,
              lo_message_manager type ref to if_wd_message_manager.
      lo_view_controller ?= wd_this->wd_get_api( ).
      lo_message_manager = lo_view_controller->get_message_manager( ).
      cl_wd_dynamic_tool=>check_mandatory_attr_on_view(
        EXPORTING
          view_controller = lo_view_controller
          display_messages = abap_true
        IMPORTING
          messages = lt_msg ).
    Regards,
    Uday

  • Project Server 2013 - Workflow Execution " Submit button is grayed out. "

    Dear All,
    As i was in progress to making workflows in sharepoint designer this is my first project of implementing project server 2013 and executing the workflows,in the continuation of this i followed below mentioned link to go through the process of WORKFLOWS but
    got some issue
    LINK: http://msdn.microsoft.com/en-us/library/office/jj163494(v=office.15)
    ISSUE: Is that the SUBMIT Button is grayed out after saving initial proposal plan. Snapshot is attached.
    I have checked in/out process along with this gone through re-executed the whole process same result occurred.
    Suggestion/Help needed... 
    REGARDS DANISH DANIE

    Hi Danish, 
    Its a common thing which users are experiencing.
    When you create project from workflow click on Submit it take time for transition before transition it check all the condition which you have set for workflow stage. As per your screenshot it is waiting for details in PDP (Provide details of the proposed project) 
    when you click on submit it push data into the database,sometimes it send e mails to stakeholder then it use exchange and take times to send e-mails and for transition too.
    When you/user face this issue ask them to wait for some time or close the file then reopen. 
    In the screen workflow is waiting for Project detail information in PDP that is why it is still in process and not going to next stage.
    kirtesh

  • Data passing from Adobe from submit button to BSP controller with XML

    Dear Friends
    How are you. I am developing one BSP application with Adobe interactive form. To complete this task I have use following linked solution. ( A PDF file that tells how to use Adobe forms with BSP application ).
    My application runs fine 50%. I did the same things what the tutorial told me and I am seeing the page in the webbrowser with Adobe from what i have developed.
    In the form I have put SUBMIT button and I have set properties as well... I have give full url as well for the controller to take data there over XML.
    In the controller I am not receiving any value. I have attached the code beneath as well... please tell me where I am making mistakes. I am thanking you. Any help will be appreciated.
    data: formxml type string.
    formxml = request->get_cdata( ).
    data: streamfactory type ref to if_ixml_stream_factory.
    data: istream type ref to if_ixml_istream.
    streamfactory = g_ixml->create_stream_factory( ).
    istream = streamfactory->create_istream_string( formxml ).
    data: document type ref to if_ixml_document.
    document = g_ixml->create_document( ).
    data: parser type ref to if_ixml_parser.
    parser = g_ixml->create_parser( stream_factory = streamfactory
                                    istream = istream
                                    document = document ).
    parser->parse( ).
    data: node type ref to if_ixml_node.
    data: strchecked type string.
    node = document->find_from_name( name = 'ACC_REQ').   <------ Node is empty
    strchecked = node->get_value( ).
    This is the link of the solution what i refered to complete this application:
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID0005508150DB01147043631230799453End?rid=/library/uuid/d0e58022-2a39-2a10-69a8-c1a892e2b3f4&overridelayout=true

    Dear Naeem,
    Actually i also tried the same link. For me its displayed the form. After giving the input when i click for submit nothing will happen.
    Its blinked and displayed the same page. I think for the node is getting value and some where its doesnt retrive the value.
    I will check and get back you soon once i found.
    Regards,
    Anita Vizhi Arasi B

  • I can't submit (button is gray)

    Everything is all right, (I think) Settings destination, targets, ... But I simply can not submit.

    Hi there,
    My first post. I had the same problem - when I clicked on submit in Compressor the drop down box appeared and in the Cluster box it said "none" and the submit button was greyed out. I've fixed mine and it works perfectly now. Here's how:
    Go to System Preferences and select Sharing. A box appears with your computer's name at the top and a list of things you can share. Select File Sharing and to the right, it will say something like: FTP Access:On with a message underneath which contains your computer's IP address e.g 10.6.4.3. Make a note of this number.
    Open Compressor and go to Compressor > Preferences. The Preferences Dialogue Box appears and at the bottom it says: Enter IP addresses or ranges for manually selected computers. Click on the + button at bottom left and then enter your computer's name and the IP address you noted earlier. Online will probably appear under status.
    Next time you start a job in Compressor and click on submit the drop down box will now say This computer in the Cluster box and the submit button will no longer be greyed out - BINGO
    this is what I did and it worked for me. Good luck.
    Fingers Lee

  • Multiple submit buttons in a jsp form?

    I've been doing some research and found out that multiple buttons in a JSP form are possible by two ways:
    - We can obtain the value of the submit button to know which one was clicked in the parameters of the request using the name of the buttons (which should be the same for all the submit buttons).
    - We can change the submit destination using Javascript (Horrible solution since I want my web site to be safe to be used even if Javascript isn't active in clients browsers. I will use it of course since we can do amazing things with it but I want my website to be able to work without it also)
    WHAT annoys me is the fact that the value of a submit button is also his text, so if I change the text of the submit button, I will always have to check the servlet to do the corresponding change.
    Is there a third choice to be able to use multiple buttons?
    Olivier Voutat

    It seem rather convoluted at first but it's really good. I've not worked with JSF so I've no idea how that compares but from what I know, Craig McClanahan, who came up with Struts, worked on JSF also, so I guess it could only improve on Struts.
    EDIT: Here's a search result on Google'ing his name: http://www.theserverside.com/news/thread.tss?thread_id=29068
    But like I said, you don't have to use Struts ( which only uses standard JSP/ Servlets stuff anyway ), you simply use one of the ideas from it.
    For example; you have a properties file, say "/WEB-INF/properties/myProps.properties" with these entries:
    #USERS MODULE
    users.button.save=Save User
    users.button.search=Search User By Name
    users.button.delete=Delete UserThis would be a key: users.button.save to the value Save User
    Now, in your JSP, you use JSTL <fmt> tags:
    <fmt:setBundle basename="properties.myProps"/>
    //set the resource bundle you want to use
    //and create buttons with the proper values
    <input name="myButton" type="submit"><fmt:message key="users.button.save"/></input>
    <input name="myButton" type="submit"><fmt:message key="users.button.search"/></input>This would create buttons with text "Save User" and "Search User By Name" respectively
    Now, finally, in your servlet:
    //create a map of the properties,
    //possibly on app startup using a ServletContextListener
    //and put it in the servlet context for access everywhere
    HashMap myProps = (HashMap)getServletContext.getAttribute("myPropertiesMap");
    String buttonClicked = request.getParameter("myButton");
    if ( buttonClicked.equals((String)myProps.get("users.button.save")) )
    //perform save action
    else if ( buttonClicked.equals((String)myProps.get("users.button.search")) )
    //perform search action
    //etcYou'll obviously want to optimize this. Perhaps make a method that handles the comparison so you can have neater if conditions. But you get the idea, right?
    Edited by: nogoodatcoding on Oct 4, 2007 8:12 PM

  • I want to have users submit the form in PDF format but it doesn't work using the email submit button

    Hi all,
    I have a form that I want to be returned to a specific email address as a PDF File. This is so that reservations people can open the pdf, and extract the information from it. Keeping it as a PDF will allow them to easily read and use the form.
    When I use the "Add and Email Submit button" approach, as outlined in the "How to" area, everything works fine, except that the format of the submitted file is in xml, not Pdf which is what I need it in.
    I then tried adding a Button to the document from the Library, and set it's "Control Type" to "Submit". This provided me with the submit sub-tab, where I set the "Submit Format" to PDF. In the "Submit to Url", I entered the following - "mailto:[email protected]" (without the quotes)
    The first approach works, but is not in the PDF format that I need (I believe).
    The second approach keeps giving the following error when one selects the submit button - "This operation is not permitted".
    We use Lotus Notes (yes, I know...not my favorite either, and it may be the problem here).
    Any help that might be provided is greatly appreciated!!
    Rob

    Thanks, but, using the "free" version of Reader, there is no opportunity to open nor import the xml data - the menu options do not exist - there is no import listed.
    If we try to open the xml file directly, then we get an error - something to the effect of "unsupported file type, or the file is corrupted".
    I just noticed in my Pro version that there is the command File ->Form Data ->Import Data to Form... command. Is this what you are referring to?
    What do you recommend? Perhaps the easiest thing to do would be to purchase a few copies of Acrobat Pro for the reservations people to use? I was hoping that the free version of reader would do it, but perhaps not?
    Thanks again,
    Rob

  • How can I get one Submit button to perform three actions?

    I have a 2-page form. One page is completed by an HR person, entering fields that describe a new role, new pay, new hours or a new location for an existing employee. The second page automatically repeats the name, location and job role fields, but also completes the IT requirements linked to the job role (such as whether or not the role needs access to a particular piece of software or not).
    The users of the form will have varying degress of IT capability. I wan to enable them to press a single Submit button that does three things: first, print the first page of a two-page form AND e-mail the same page to one e-mail address. Second: e-mail the second page only to a DIFFERENT e-mail address.
    I am not a Javascript expert - or even a beginner. Can anyone help? I need to get this ready for Tuesday! Thanks in advance

    You will need two buttons on your form to be able to do this.
    One is the actual submit button (this will interact with th email system and do the submit). Note that you cannot write programs on a submit button. You will need to make this button invisible to the user. The second button will be a regular button which you can write programs on. Use teh click event of that button. This one will have logic to accomplish the things that you want ...here is some pseudo code to do this:
    use print command and one of the parms indicates which pages to print.
    Set up the submit button to hold the email address of the person recieving it.
    Programmatically click the hidden submit button.
    Note that the user will recieve a dialog from the mail client to OK before teh form will be sent.
    Set up the submit button to change the email address
    Programmatically click the submit button again
    User will recieve another dialog to OK the email submission
    Also you cannot email part of the form it will have to be the whole form. You coudl get a little more sophisticated and hide parts of the form but the whole form will be sent with the emails. This will need more programming on your part.
    Paul

  • Using the Submit button to Email

    I was previously using Frontpage and I have just recently
    started using DW so a lot of this is still new to me. I did get the
    DW8 for dummies book which is helping a lot, although I know being
    a member on a forum like this will help much more. So any help is
    very much appreciated.
    I am new to this site and did a quick search but I wasn't
    able to find what I was looking for.
    I am basically planning on creating an order form using basic
    radio buttons and name, address, contact info, etc... fields.
    I wanted to have a button on the batton (like the submit
    button) that a customer could click on after filling out the
    specific fields and then the whole page/order form (with its
    contents) would be emailed to me.
    Could the "Submit" be used to do this? I know in the DW 8 for
    Dummies book it mentions that the Submit button is for credit card
    processing companies to send the info and then come back with the
    results, but I just want it to email the completed page/order form
    so the credit card can be processed in the office.

    > Why isn't it as simple as entering in a
    "mailto:[email protected]" type of
    > thing? Or is it?
    It is that simple. However, it is very unreliable. For it to
    work, the
    visitor filling out the form has to have a properly
    configured email client,
    that works with the webpage form. That leaves out people
    using webmail
    services and those using public computers. And- most
    computers will put up
    a warning screen that the form data is being sent by an
    insecure method and
    give the person a choice to send or cancel.
    >
    > Everything I seem to read talks about downloading a
    specific cgi-bin type of
    > thing depending on what my hosts' server has.
    Setting up a form processing script can be very simple.
    First step- check your hosting's support/FAQ section for info
    about forms
    and scripts.
    if your hosting has a control panel or CPanel, look there for
    a
    pre-installed script and instructions on using it.
    The free kaosmailer extension at
    http://kaosweaver.com will create
    the
    scripting for you, within dreamweaver, for your choice of
    asp/php/coldfusion. (pick the one your hosting supports)
    A php script is phpformmail at
    http://boaddrink.com
    An asp script is at
    http://www.brainjar.com/asp/formmail/
    A cgi/Perl script would be at
    http://nms-cgi.sourceforge.net
    (but it would
    be my last choice, a php script would be far easier to set
    up)
    Any further specifics totally depend on what scripting method
    you can use on
    this hosting, and on what script you want to use.

  • How can i disable a submit button and execute submit_action method on click

    Good Day,
    On my page I have a submit button that execute the submit_action method of the page backing bean that submit data captured on the page into a database and activate another class that send mail at the same time on a click of the submit button,the mail process takes a while before returning back to the page.I was able to disable the submit button to prevent the user from keep click while the process is running but the issue is on clicking the submit button it only disable the submit button without executing the submit_action method of the page backing bean.How can i disable the submit button and execute submit_method of the backing bean at the same time.
    Thanks in advance.

    I tried this out on one of my pages to see if it works.
    First, I added the following JavaScript to my submit button's onClick event:
    this.disabled=true; return true;When I clicked the submit button, it was disabled but the form was not submitted.
    I deleted the JavaScript from the onClick event and added the following JavaScript to the form's onSubmit event:
    var button = document.getElementById("form1:submitButton"); button.disabled=true; return true;When I click the submit button, it was disabled and the form was submitted but the button's action method was not called.
    The next thing I tried was to change the onSubmit event code:
    var button = document.getElementById("form1:submitButton"); setTimeout("button.disabled=true", 500); return true;This seemed to work. The difference was that I added a 1/2 second delay before disabling the button.
    See if that works for you. If not then I'm fresh out of ideas.

  • How to clear the data in my page after user enter submit button

    hi......
    how to clear the data's in my page after user enter submit button. Actually while pressing first time itself the data is uploaded in database.

    Hi Nazeer,
    Instead of doing it on the same button better create a separate button for this functionality, As per my understanding you want to clear these fields to create new record so that you can enter a new record so for this you just need to insert a new row in VO.
    Still if you want to do it on the same button then you need to put the check that particular record is not dirty if it is not then create new record else create new record.
    One more thing if you will clear on the second click of a button how will you update your record??
    Regards,
    Reetesh Sharma

  • On submit button type - There was a problem connecting to the server.

    Hi,
           Please give me a solution for server connection issue. I am new to the adobe live cycle designer ES4.
    I created a web form use of adobe live cycle es4 v.11.0 to retrieve the data from web service method. So, I created the WSDL type data connection in data view menu to invoke the .asmx?wsdl service and connection is established successfully. Then, I dragged and drop a button from object library window to invoke the service method and changed the type as submit button. In the submit button URL, I given the web service url as eg. http://<localhost>:<port>/Web_serive.asmx?wsdl. Finally, I saved it has a PDF file.
        When I click the submit button, a pop up window is openning as 'preparing for submit..' and 'Receving data..' and finally, it shows a pop up error message as 'An error occured during the submit process. There was a problem connecting to the server'. I tried all possiblities and if any bad english grammer, sorry for that.
    Please give me a proper solution for this issue.
    With Regards,
    G. Prabakaran.

    After trying these suggested actions several times success has not been reached.
    I understand you are getting unable to connect to server error message on your printer. I would first unplug router and printer for about 1 minute. I would plug router up first then printer. I would then try to enable web services. If not successful and you get same error message. I would follow these steps.
    1. Obtain your printer's IP address
    a. This can be done by pressing the wireless icon on printer.
    2. Enter the printer's IP address in a browser.
    3. Select the network tab at the top of the page.
    4. On the left select networking.
    5. Select Network Address (IP)
    6. Select Manual DNS Server
    a. Manual Preferred DNS should read 8.8.8.8
    b. Alternate DNS Server should read. 8.8.4.4
    7. Select apply you might get a warning just select okay.
    8.  Try again to access ePrint.
    Let me know how it goes.
    I am able to print wirelessly to the printer, print through eprint, scan, and copy things. The only thing that is not working is the printer itself connecting to the hpeprintcenter.com.
    Kyle

Maybe you are looking for

  • Purchase orders manily against the sales orders

    My client do purchase orders manily against the sales orders... but to meet the minimumn purchase order quantity or value they club many sales orders in a single purchase order... now is there any way to track for what sales-order-item what purchase-

  • NForce MB - Problem connecting to AT&T Broadband using on-board NIC

    I can't seem to stay connected to my AT&T Broadband connection using the NForce's Onboard ethernet connector. Looking at the details from running ipconfig /all, my computer reports a MAC address of 00-00-00-00-00-00 Is this normal? Is there anything

  • Need a graphic to have a transparent background

    I have a graphic with a white background, but i need it to have a transparent background. I have erased all the white on a new layer, but when i save it as a jpeg it still has a white background. The backgound layer is locked and wont let me delete i

  • Forward systemd's sleep.target to a systemd user session

    My naive approach was the following: [email protected] [Unit] Description=sleep.target of a systemd user session Before=sleep.target StopWhenUnneeded=yes [Service] Type=oneshot User=%I RemainAfterExit=yes ExecStart=/usr/bin/systemctl --user start s

  • Mac Pro with Mini Display Port

    Hi all, I want to add a second display to my Mac Pro. I use it for music production and having a second screen to tweak plugins, monitor the mixer. etc. would be very helpfil. IS there any kind soul who's recommend 1) a good display (for looking for