issue of form input

Hi I have a model of CF that I use to create new pages html here at work. What I have so far works perfectly. However, due to the way in which my employer puts its pages, I'm stumped on how to accomplish the next step of this page generator application.

Basically, its pages are all the same static text heavy pages that follow the same design across the literlayy of thousands of product pages. However, certain pages has a cross reference section or a "Material" section uses this fire In these sections, each reference is presented as a list. For example:

Acer

Vivitek

Westinghouse

and so on

Now my problem is how to use a form to insert text like this and have always displayed as kind of a list. Its never a number of elements that can display here, so create x number of entered form would not work. Ideally I would like to have a way for the user (data entry) to seize several elements into a single shape and the display of each different item on a new line in succession. Not sure yet whether it is possible, but any advice or suggestions would be greatly appreciated.

If you need more information let me know. You can also see exactly what I'm talking about here look at the bottom of the page and bolded heading each list, you will see a few short lists.

A SOLUTION (the better one)

Do not present the name of mark as a text field, but make a drop down select field filled with all the brands of the table of marks.


Now, when using is a brand name, the field will be filled with the brand id and you would just use this field for the rest of your process.  (Do the queries of the scorer's table each time that you need display the brand name).

TWO SOLUTION (the ugly one)

You do a query on the table brands using the brand name the user intered in the text field.  The problem is that the user must type the name EXACTLY as it is in the table and goodness, confusion if there are brands with similar names!

You can combine the search in the query with a subquery insert... but really a SOLUTION, this is the way to go!  So I won't work for this syntax.

Tags: ColdFusion

Similar Questions

  • Form input

    I use APEX 4.2.5 and you have created a form based on a table.  Pretty basic.  In my table, I have 4 columns in addition to the data I want to collect; Create_date CREATE_USER, UPDATE_DATE and UPDATE_USER.  In my form, I have these tag of the HTML of READONLY attributes of form because I want it application "enter" these data for me instead of having the user fill them.  I have creative work correcly elements since they will be filled in only when a newline is entered.  It's the update values that give me a little trouble.
    When I make a line in to change, I have the UPDATE_DATE correctly failed to SYSDATE and records properly but I'm unable to get the current
    information from the user to enter and store them properly. Here are the parameters of the item that I currently have:

    Source:
    -Opportunity source: always replace any existing value in session state
    -Source Type: database column
    -Maintain Session State: per session
    -Source of value or an expression: UPDATE_USER

    By default:
    -Default value: & APP_USER.
    -By default the value Type: static text with Substitutions of Session State

    So how should I configure these in order to get the current user credentials in this field of form and the table or I don't do things correctly? If not,
    How should I do for this?

    Thanks in advance,
    Scott

    I found the solution to my problem in two ways.

    You can either:

    1. create a trigger on the table before updating and use NVL (v ('APP_USER'), USER) for updating the column
    2. or in the area of form on the page, the edition and the Source control of-> Post calculation calculation just add "v('app_user')".

    The issue was the value to the database.  Using the "v()" feature allows access to the database for the application session variables.  I was successful with both, but opted for option 2.  This allows values that are stored in the database to display on the page at the time wherever it is published.

  • DateTime liquid switch only works on some browser form input fields

    I have a form of agreement where I would like to have the current date is displayed only (readonly) in the form of entry.  This will display the date perfectly well a range of browsers and OS but my client always reports that the form field displays the date + time (22-June-2015-12:00). Apparently, it still shows 12:00 for the time. I was unable to reproduce it in any of my tests with several browsers and operating systems.

    That's what I wrote to add the date:

    {% assign dateVariable = {{globals.site.dateNow | date}} %}}

    < b >

    < td >

    < label for = "CAT_Custom_19994415" > Date of acceptance < span class = "req" > * </span > < / label > < br >

    < input type = "text" name = "CAT_Custom_19994415" id = "CAT_Custom_19994415" class = "cat_textbox" readonly = "readonly" = value "{{dateVariable |}}" {{date: '%d - MMMM-yyyy'-}} ">"

    < table >

    < /tr >

    Must I add another filter to indicate to the server does not add a time in there? Or maybe add some Javascript for him say look for a while and remove it?

    Any help would be much appreciated.

    It's weird.

    It will not be something to do with the browser because liquid is script server-side and today's date is server only side not the client side too.

    | date displays only the date but not the time, and I did not add time.

    I do not notice on your input field you after the aaaa: a dashboard - that needs to go just in case where but I don't think it would be. You need javascript.

    Remote connect to your computer for customers to watch what they see, never take a customer what they say on face value.

  • Issue of form

    Every two years, I have create a web form for people to submit nominations online at the price of transport.  Whenever I have it create, I think I'll be able to reuse the next time, but too will eventually change (questions, security requirements, etc.) that I end up having to redo, more than half of it.

    The form JS validation for all the fields of data type, length max, etc., but there also validation server-side.  If you submit the form with JS disabled and an error occurs, the recharge (populated with the data that you just entered) form and display error messages telling you what the problem is, you can modify the data and submit again.

    It is a big form, so I don't want to have more than one copy of it, so my only copy must:

    (1) be a (blank) form.

    (2) is the form that will populate the database when people want to change their existing appointment.

    (3) retain the information that someone has just come in when an error occurs.

    The way I did this is to < cfparam > all FORM data and then do so for the values of all entries:

    value = "#iif (FORM.nominator_org neq" ", FROM (FORM.fieldname) OF (query.fieldname)) ' # '"

    If the FORM variable has a value, use it, otherwise use the value from the query.  Needless to say, it's a bit awkward, so I was wondering if there was a more clean way.  There are more than 40 areas, so it ends up being a lot of code!

    When you say you are CFPARAming all the FORM data, what exactly do you use for the default values?  Seems that everything you need to do is to query for the values of database, then a CFPARAMs string for each FORM field, when you set the default value of the corresponding value of the query.  Then simply use the value of the FORM in the VALUE of the CFINPUT clause.

    Also was not only unclear on how you do the validation client side with JS - you use the built-in features of CFINPUT or your own JS?  If you use your own JS, do not use CFINPUT, simply ENTER.  This way you can have the CFIF tags inside of the INPUT tag.  If Yes, you need to use the CFINPUT tags, then you can avoid the hassle of the IFF / putting the CFIF tests before the CFINPUT tag, define a var temp the appropriate value AND then use the temp var in the VALUE for the CFINPUT.

    HTH

    -reed

  • Issue of form of planning design

    Hi all
    I'm essbase well-versed in (most things), after working with her for nearly 9 years.
    I've always done a practice do not write high-level members (even before ASO came) substitute "Input" hierarchies if necessary for allocation entries. In this way, there is always traceability to the number that was entered.
    Most of the time I don't mix not forms of Top-Down and Bottom-Up input into one, I usually create one for each use, with the exception in ActiveOLAP where I designed the formula of entry for 2 types of entry and open/locked cells, based on the input type. (But once, it has been designed to be unique for the type of input was entered)

    Now I'm entering the use of planning and we just ran through a demo where enter us the numbers to a member of the "NA_Dept" and on save the rule company allocates them to lev 0 departments (based on a % of alloc that was entered). Then we went and ad-hoc recovered members of Department (as well as the departments) to display the assigned numbers. Played a little and changed them, ran a business rule to agg it back up. Then our manager wanted to return to the formula of entry where enter us the numbers to be affected and they show the number of departments updated (because we used never consolidate them on the input member "NA_Dept").

    To make a long story short (I know, too late), which is the best practice for the design of web forms? Allow users to enter higher levels for allowances, it it works Top-Down AND Bottom-Up? Or create different forms for different uses and it to be an element of training?

    TIA,
    Robert

    According to me, assignment and determination of objectives must be a process of children with discreet public (c.-a-d./directeurs only). So top-down edict and allocation rules of access rights should be granted to a group of different users of the low up
    Once the targets are presented and allocated at the bottom to the top, process should begin for the bottom upward. And ideally to users that modify the bottom upward should not be editing high down at the same time, nor should they run allocation rules.

    See you soon,.
    Alp

  • How to make the default value in the form input field disappear at the click of the user

    I have a HTML input with a default tag.

    How can I get this value disappear when the user starts to type?

    A form is here:

    http://www.kardsbykaren.us/10pack.php

    Happy holidays and thank you.

    Have a look here http://www.matiasmancini.com.ar/ajax-jquery-validation-html5-form.html

    GRAMPS

  • Issue of form of planning

    Hello
    If anyone knows how to create a planning form that allows users to save data to a higher level member?
    I can send the data to a higher level through an ad hoc query in Smart View, but I don't have the same access when you use the planning form in Smart View.
    If the upper limb data storage option is set to 'store', it contains the number. I then wrote a calc script that combines all the elements except the members of account I want to keep from rolling upward.
    What keeps me upward, it's that I can't get the planning form to show the input cells yellow at the top level of these accounts.

    Thank you
    Elkaïm

    Take a look at the target versions:-http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/ch12s04s21s01.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • New issue of form design

    Question: I create a new form with Adobe LiveCycle. Is it possible for me to create a sort of on the text of the application box? Here's my them, the text reads like this "I request a purchase order for" then I have a text box, so people can type in what they want. If they just need to ask something small, it works fine, but if they need to type in something like "a bus ticket from Georgia to California blah blah blah" etc, they have run out of room and need to enter all the information in. Is it possible for me to put a button on the form, so if they need more space to type, they click click on the button and the new text box will appear under the old movement the rest of the paragraph to the bottom of line?

    Hello

    Look at this example that show how to do dynamic fields: http://assure.ly/g80MVY.

    I think it would be better to work with one field rather than presenting a new bottom. User input will be shared between the two fields.

    You can get by using the complete event of the first textfield object, that is to say:

    textfieldOverflow.presence = "visible";
    

    But I recommend to stick to a single field.

    To get the paragraph / glad other down, the page needs to be set to the type of content Flowed. See here: http://assure.ly/eSGQMt.

    Hope that helps,

    Niall

  • Disappears HTML Web Page form input text area

    Hello

    I want to know how posibble when people they put inside my textfield normal textfield with my form, they click on the inside and the

    text field I have HERE is 'NAME'

    OR "HERE'S THE MAIL" AND go back and forth.

    Hows posibble with java script or code in Fireworks... ?

    I have here the form.

    < div id = "form" >
    < form action = "FormToEmail.php" method = "post" name = "FormToEmail" id = "FormToEmail" onsubmit ="MM_validateForm ('name',", "R', 'email',", 'RisEmail', 'Comments',", 'R'); return document. MM_returnValue">
    < p >
    < label > name < span title = "this field is required.' > * </span > < br / >
    < input name = "name" type = "text" class = "contact_form" id = "name" / >
    < / label >
    < /p >
    < p >
    < label > E-mail < span title = "this field is required.' > * </span > < br / >
    < input name = "email" type = "text" class = "contact_form" id = "email" / >
    < / label >
    < /p >
    < p >
    Comments from < label > < / label >
    < span title = 'this field is required.' > * </span > < br / >
    < = cols 'comments' textarea name = "30" rows = "5" class = "contact_form" id = 'Comments' > < / textarea >
    < / label >
    < /p >
    < p > < input name = "send" type = "image" id = "send" src = "buttonimage.gif" align = "middle" / > "
    < /p > < / make >

    Help, please!

    ALT

    Paul

    Spain

    You mean clear default form values when you click in a form field?

    Try

    http://www.siteexperts.com/tips/elements/TS27/Page1.asp

  • Classic ASP validate form input file type

    I need to know how to check if a value is in the file type field in the classic ASP. The name of the input field and the id is the file, and file type. The form type is multipart/form-data and the name of form1.

    I use Upload.asp object by Jacob Gilley to manage my download. If the user submits without selecting a file to download; the site-error. The user should have the option of presenting with or without a file. I need to post to the server.

    I'm trying
    Len (Uploader.Form ("file"))) > 3

    Thanks for any help
    David Pearson

    I found a solution, post in case anyone else has the same problem.
    If (Uploader.Files.Count > 0) then
    "of the treatment file.
    ....
    end if

    Thank you all
    David Pearson

  • form input type = checkbox works in all browsers but FF. WHY?

    I created a div containing box entries that work in all browsers except FF.

    FF reported "undefined" for checkboxes and stopped running Javascript.
    

    You have a problem with the boxes or the onclick code?

    A good place to ask questions and advice on web development is the forum mozillaZine evangelism/Web development Standards.

    Aid to this forum are better informed on issues related to web development.

    You must register on mozillaZine forum site to post in this forum.

    See http://forums.mozillazine.org/viewforum.php?f=25

    You must post a link to the website or by mail to the relevant parts of the code.

  • Issues of analog input DAQ-6008, voltage not zero to pin when you are offline

    I use the 6008 NOR-DAQ to produce a series of tensions and then read a sense resistor using the analog input (CSR). I noticed that my analog input gives me 1.3 V, when I probe it (compared to the mass of the device), when it is completely disconnected. This changes the reading to give me a different measure of sense than expected resistance.

    Why is my pin for analog input non-zero? Any help would be appreciated. Thank you!

    The 1.3 V is expected. The USB-6008-and-6009 case have the strangest input of the world circuit. The input impedance is approximately 144000 ohms terminated in 1.4 V. check the document User Guide and specifications.

    Lynn

  • Customer service - issue with forms authentication

    Hello

    I activated and the value of service to customers for the comment box...

    After the connection to the network of comments, I see a login form. When I set login username, password and click on guests, I see only the photo below. In the Active Sessions of comments I Don t see any session active, and internet access is not allowed. Do you have any advice how to fix this?

    Model: NSA 2600
    Firmware version: SonicOS Enhanced 6.2.5.1 - 26n

    I changed the settings on the screen below and is now the work of search service.

  • Issue of form of satellite

    Hi all

    I use a form of satellite in one of my page. As a form of satellite is supposed to create a hidden field '_authkey' with a unique value, but in my case its null come at first request, but when I refresh the page, authkey has generated.

    I checked for JSESSIONID, its same for both cases.

    Anyone with an idea?

    Hi NelashJindal,

    This WebCenter Sites 11.1.1.8.0 patch are you running?

    I think that this problem cannot occur after Patch Sites 11.1.1.8.0 5.

    -Paul

  • Subclassing issue in form 10g - is there a default path?

    Hello

    is there any default path for the model form where can inherit another form. I have a FMB file which will be used as a common template file. This file will be used for the legacy. Currently property of the form are not inherited in the new forms.

    Can someone please help.

    You must set the FORMS_PATH in the registry. The entry in the default.env is only for runtime forms. The constructor takes tha with the registry value.

Maybe you are looking for

  • How can I get a search box?

    There was an address field and the other for research in less time. There is no field of research since the last change. I love this area. How can I get it back?Thanks for help.

  • I create a new Apple ID and I'm having a time difficult, what makes a.

    is it possible to find the verification code?

  • HP ENVY, dv6 - C2Y41A Notebook: how to fix Simplepass after upgrade Windows 10.

    I upgraded to win 10. Everything worked very well. But Simplepass did not work. And after some time dissappeared wireless connectivity. So I drove back. Please advice where I'll get the Simplepass driver to win 10. And why my internet works more brut

  • go mini questions please help!

    When I turn on my HP mini computer her talk me to "enter the current password" and after three trys it says "system error fatal vaulted password control failure" with code "CNU9475MH7" Please help me through this form as soon as POSSIBLE. I need the

  • W530 Wifi questions?

    I don't know if it's a driver problem or what, but I've had problems connecting to wifi for a few weeks now. Before, I have to restart the computer sometimes to pick up the signal, as it was certainly not a problem with the router because I tried sev