How to redirect to assets or form based on the values of database search
We try to use the database search to determine if a visitor to our Web site already filled out a form. When they click on an asset (such as a white paper link), we want to use a database search to check if they filled out a form (we are check on the email address and a specific to all our forms required field). If the database search returns a value, then they are addressed to the asset. If the data query appears empty, they are directed to a form. Did anyone tried something like this? I'm interested in how you generated JavaScript code to activate.
This sounds like the standard "true" eloqua gated form technology, using the eloqua (hidden method, short and long term) cookie-driven. For years, it was only substance without papers and seller and don't has not been fully supported by the tech line. Now it is wide open information here: http://eloqua.blogspot.com/2010/06/gated-forms-asking-for-just-right.html
This gives a whirl and come back here with all the problems that I have built many of them.
Tags: Marketers
Similar Questions
-
Toggle controls simple form based on the value of an element
Is it possible to toggle the controls on simple form based on the value of an element?
for example, if P21_stat = 1 5 controls behave as type "View as text (saves the State)", otherwise they must be of type "text field"?
No work around if not?Hi Alex,
Look at the definition of the article page, you will find a 'readonly' section where you can specify a condition that this point should be readonly (in all other cases, it is a normal entry point).
brgds,
Peter-----
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
Work: http://www.click-click.at -
Redirect to 3 different pages based on the value of the Auto complete field.
Hi friends,
I use a "Auto complete field" in a page for research (Apex version 4.0). But I need to get the values of the 3 tables and when you click on the redirection of the value to one of the 3 pages based on the value.
For example, I have 3 tables. 1 customer 2 Sites 3.Employees. When I enter "c" in the search field, I need to get values of 3 tables in this area "AutoComplete". That is to say, if I have a customer with the name "cusotmer1", "customer2" and the location with the names of "cisc1", "cisc2" and employees with the name "cid1", "cid2"; When I enter "c" in the FQDN of the auto all 6 values must be given in the "AutoComplete" box and clicking on "customer1" / "customer2" need to redirect to the 'customer' page When you click on 'cisc1' / 'cisc2' redirect to 'site' when clicking on "cid1" / "cid2" redirect to the page of the employees. Is there a way to do this. Help, please.
Kind regards
NAVNet asset value,
Here is a sample page that uses the code I proposed works fine for me with FF and IE (8.0).http://Apex.Oracle.com/pls/Apex/f?p=18:3
Note: I've added a warning message before being submitted
This page works by your side?
-
Fill in fields on a form based on the value of a list? (Dreamweaver CS5)
Yet once, it has been a while since I've done any work in Dreamweaver. I have two sets of records, rs1 and rs2. Fill a selection area with a dynamic field, rs1. Based on the value of the selection in the list box and use it as a primary key and a database .mdb I want to fill that second record, rs2 and respective fill some additional fields with its dynamic links.
Assuming that everyone can understand what I so badly stated, with a having a few ideas or, better yet, a few examples?
Thank you!
I agree with Nancy that using Access is a bad choice, to answer your question, it seems you want to create a montage cascading down. Dreamweaver is not integrated to manage cascading dropdown lists. You code yourself.
There are two approaches for cascading drop-down lists:
- Use Ajax to present a second query to the database when the first drop-down list is selected.
- Store the values of the dependent drop-down list in a table, and use JavaScript to fill in the options in the first drop-down list is selected.
This page of examples of cascading dropdowns: example of DropDownList in waterfall | Kendo UI Dropdownlist demo. A Google search for the cascading drop down list will produce other results.
-
Fill in the parts of the form based on the value entered in the first field
Hello
I am creating a form where user will enter the serial number of the equipment and I want him to click a button check beside him. When you click on the button check, I want to the Description of the object of the form field to be updated (this info is taken from a MySql DB backend). In addition, the text corresponding to the Site of equipment fields be filled. After reviewing all the information, user should be able to click on a button at the end of the form, and this information must be written in another table. I have attached an Insert record server behavior to the form. Essentially, I want to set a different action on the two buttons on the form. In my opinion it's the same one when we fill the registration form and based on our country, our State drop-down list is filled. It seems that this is doable, but I am not able to figure out how. I'd appreciate any help
Thank you
It's very simple if you understand the PHP code. Basically, you give the two buttons of different names and a logic conditional PHP allow you to control what happens. Call a button 'check' and the other 'insert '. If you use the POST method, you control the script like this:
if (array_key_exists('verify', $_POST) { // create a recordset to retrieve the details ready for display } elseif (array_key_exists('insert', $_POST) { // insert the details in the the new table }
If you aren't comfortable coding PHP yourself, the easy way to do it with Dreamweaver server behaviors must use separate sheets. On the first page, simply create a form for the user to enter the serial number. Use the GET method to send the serial number to another page. In the new page, use the parameter of URL containing the serial number to create a recordset to fill the form of insertion. Then apply a server behavior insert record using the POST method to insert the details in a new table.
-
How to disable a user interface messageCheckBox based on the value of the parameter system?
Hello
I implement a messageCheckBox on the UI, and I need, it is not not editable if a system parameter was set to Yes and editable if the defined system parameter or not. Is this feasible? The syntax to use? I think to put it in the field 'Disabled' for the checkBox control.
Very much appreciate your comments.
Thank you!Hi Michelle,
What you mean by system setting. If is the value of say certain attribute VO should first read the value of the attribute of the VO.
and create a transitional attribute in the same VO and set the property accordingly.
The syntax is ${oa. VewInstanceName.ViewAttributeName}
Thank you
-Anil -
You want to varify each form field with the value from database?
Hello Experts,
I have to implement a feature that will confirm the change for each text field on the form.
Scenario:
I have a form with several fields of database tables.
We have set the indicator for each column of each table to Yes or no in a master table to access.
When users navigate to any text field in any database block, procedure, or a function will varify that access is granted for the amendment of this column.
If the access flag is set to yes, user can change. otherewise fast with the message, you are nor allow to change this field.
I don't want to call this procedure and a function in each field.
Also, if in the future if a new field will add to this form, there is no need to change in the code or we should not require to remember to check the indicator of access to this column.
Please help me.
Thank you
Yoann
NEXT-KEY is always triggered, then you can try to put that code in WHEN-VALIDATE-ITEM trigger. This way you can navigate on this field if it's empty DB, but can not force the user to enter data in a new record. Alternatively, you can ask again priviledge change data in your trigger KNI.
-
Show/hide subform based on the value of digital field
Hi all
I created my first form in LiveCycle Designer, but jammed with coding. Any help would be greatly appreciated.In the attached form, based on the value of field digital "number Total points" (calculated from the user of entry), I want two things to happen.
The 'field' text should display different text depending on the points,- Less than 10 points is "beginner."
- 10-14 is "intermediate."
and just like that...
If the total number of points is less than 10, 'Course for beginners' and 'Language' DropDownList must appear.
Is there a way to do this? I tried posting 'If' 'else' statement, but it does not work. I looked in the previous discussions, but cannot find that anything will be based on the numeric value.
You are looking for assistance.
RThe joint responds to your needs. The JavaScript on the TextField1 calculate event anime.
Form1. #subform [0]. TextField1::calculate - (JavaScript, client)
If (NumericField1.rawValue! = 0) {}
If (NumericField1.rawValue< 10)="">
DropDownList1.presence = "visible";
DropDownList2.presence = "visible";
this.rawValue = "beginner."
}
else {}
DropDownList1.presence = 'hidden ';
DropDownList2.presence = 'hidden ';
If (NumericField1.rawValue< 15)="">
this.rawValue = "middle";
}
else {}
this.rawValue = "";
}
}
}Steve
-
Create a form based on the procedure
Hi all
I am creating a form based on the procedure, but when I entered the name of stored procedure, I got this error:
Specified procedure could not be found, please choose a procedure name valid store.965628 wrote:
My procedure is in a package.How can I prepend package name?
Like this
your_package_name.your_procedure_name(parameters);
-
How to render components based on the value selected in a list of values
Hello
I created a form of the ADF. I have a drop down that is a list of values. I want to toggle certain fields based on the values selected in the menu drop-down. Could you please let me know how to do it in the ADF?
Kind regards
MurielleHello
It should work. It is important to note that in case you use a component selectOneChoice for category then the value returned by #{bindings. Category.inputValue}
is the index of the selected value in the list and not the value auto. To get the value, you must use ' #{bindings. " Category.attributeValue}"in the disabled state.If the problem is no display of code in your page to take a look.
Gabriel.
-
How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.
I use JDeveloper 12.1.2.0.0
< af:button id = "tt_b2".
rendered = "#{attrs.nextRendered} '"
partialSubmit = 'true '.
action = "#{attrs.backingBean.nextAction} '"
Text = "next".
Disabled = "#{attrs.nextDisabled}" / >
private static final String NEXT_NAVIGATION_ACTION = "controllerContext.currentViewPort.taskFlowContext.trainModel.getNext";
public String nextAction() {}
If (validate()) {}
updateModel();
Return NEXT_NAVIGATION_ACTION;
}
Returns a null value.
}
Use case is made for model train, which is being implemented based on this blog: http://javacollectibles.blogspot.co.UK/2014/10/ADF-train-template.html
We define a generic action following in the model, but the action must be called under certain conditions, based on the question of whether all validation controls had been passed on no.
You can do this in two ways:
1 returnValue = (String) ADFUtils.invokeEL("#{controllerContext.currentViewPort.taskFlowContext.trainModel.getNext}");
return returnValue;
2.
public String getNextTrainStop() {}
String nextStopAction = null;
ControllerContext controllerContext = ControllerContext.getInstance ();
ViewPortContext currentViewPortCtx = controllerContext.getCurrentViewPort ();
TaskFlowContext taskFlowCtx = currentViewPortCtx.getTaskFlowContext ();
TaskFlowTrainModel taskFlowTrainModel = taskFlowCtx.getTaskFlowTrainModel ();
TaskFlowTrainStopModel currentStop = taskFlowTrainModel.getCurrentStop ();
Terminus of TaskFlowTrainStopModel = taskFlowTrainModel.getNextStop (currentStop);
nextStopAction = nextStop.getOutcome ();
_logger.fine ("train, next stop:"+ nextStopAction ");
Return nextStopAction;
}
-
How to get the total number of occurrences based on the value of a column.
Hi all
It is the first time I'll ask the question here on your forum, but since then followed several threads. I guess it's now my turn to ask a question. Anyway here's the thing, I have a query that should return to count the number of rows based on the value of HOUSING. Something like this:
-----
-----WIPDATAVALUE SLOT N M 1-2 TRALTEST43S1 1 3 1-2 TRALTEST43S1 2 3 3 TRALTEST43S1 3 3 4-6 TRALTEST43S2 1 4 4-6 TRALTEST43S2 2 4 4-6 TRALTEST43S2 3 4 7 TRALTEST43S2 4 4
As you can see above, on the TRALTEST43S1 of the SLOT, there are three occurrences, so M (Total number of occurrences) must be three and this column N he's counting. It is the same with the TRALTEST43S2 of the SLOT. It's the query I have so far:
And it leads to something like this:SELECT DISTINCT WIPDATAVALUE, SLOT , LEVEL AS n , m FROM ( SELECT WIPDATAVALUE , SLOT , (dulo - una) + 1 AS m FROM ( SELECT WIPDATAVALUE , SLOT , CASE WHEN INSTR(wipdatavalue, '-') = 0 THEN wipdatavalue ELSE SUBSTR(wipdatavalue, 1, INSTR(wipdatavalue, '-')-1) END AS una , CASE WHEN INSTR(wipdatavalue, '-') = 0 THEN wipdatavalue ELSE SUBSTR(wipdatavalue, INSTR(wipdatavalue, '-') + 1) END AS dulo FROM trprinting WHERE (containername = :lotID OR SLOT= :lotID) AND WIPDATAVALUE LIKE :wip ) ) CONNECT BY LEVEL <= m ORDER BY wipdatavalue;
-----
-----WIPDATAVALUE SLOT N M 1-2 TRALTEST43S1 1 2 1-2 TRALTEST43S1 2 2 3 TRALTEST43S1 1 1 4-6 TRALTEST43S2 1 3 4-6 TRALTEST43S2 2 3 4-6 TRALTEST43S2 3 3 7 TRALTEST43S2 1 1
I think that my current query based results M and N on WIPDATAVALUE and not HOUSING that's why I get the wrong result. I also tried to use WITH instruction and it works well, but unfortunately, our system cannot accept the subquery factoring.
I know that you guys will be of help because you are all awesome. Thank you all
Published by: 1001275 on April 19, 2013 20:07
Published by: 1001275 on April 19, 2013 20:18Hello
1001275 wrote:
Hi sb92075,You are right that it is available with this version. But our system doesn't put queries that use subquery factoring.
What system are you talking about? If you really have something that prevents you from using all the features of Oacle, you should seriously think about fixing it.
Any other ideas on how we can do this without help WITH clause?
Yes; If a WITH clause is referenced that once, it can be re-written as a point of view online:
SELECT wipdatavalue , slot , ROW_NUMBER () OVER ( PARTITION BY slot ORDER BY low_number ) AS m , COUNT (*) OVER ( PARTITION BY slot ) AS n FROM ( -- Begin in-line view (got_numbers) SELECT wipdatavalue , slot , TO_NUMBER ( SUBSTR ( wipdatavalue , 1 , INSTR ( wipdatavalue || '-' , '-' ) - 1 ) ) AS low_number , TO_NUMBER ( SUBSTR ( wipdatavalue , 1 + INSTR ( wipdatavalue , '-' ) ) ) AS high_number FROM trprinting ) -- End in-line view got_numbers CONNECT BY LEVEL <= high_number + 1 - low_number AND low_number = PRIOR low_number AND PRIOR SYS_GUID () IS NOT NULL ORDER BY low_number , m ;
-
How to create table selectable line or not based on the value of the line
Hello.
JDeveloper 11.1.1.2
Is it possible to make a selectable table row or not based on a value in the line.
That is to say. lets say that the row contains a Boolean LOCKED = TRUE.
This line should not be selectable.
A line whose value LOCKED = FALSE should be selectable.
/ ErikErik,
No particular reason to disable a selection of lines for a particular line? If I'm an end user, I would be clicking on the same line of thought again and again my mouse does not ;) (call me dumb :)). How do you differentiate this line (using inlineStyle / styleClass) based on the value of line? In addition, you can disable the other buttons when a row with a particular value is selected (so that the user knows that the selected line is not treatable).
Arun-
-
How update the column in the table based on the value selected in apex4.1
Hi all
I have the following tables,
and it has the values as follows,leave_type table,it has the following fields, 1.emp_name, 2.sick 3.casual
leave_master table and it includes the following fieldsemp_name sick casual guru 10 10 mishra 10 10
I have the form based on the table "leave_master"1.emp_name, 2.leave_type 3.no_of_days
Here, the leave_type has the LOV which includes.
sick and casual.
When the form is filled out and clicked on the button submit,
I need to update the column leave_type in table leave_type,
for example,.
then I want to update the leave_type column,if emp_name:guru leave_type:sick no_of_days:3
sick sick = - no_of_days for the 'guru' of name
That is to say, ill = 10-3 = 7
then the leave_type of the table must be,
someone can such me what code or method I can use?emp_name sick casual guru 7 10 mishra 10 10
Thank you.
Published by: Gurujothi on May 24, 2012 21:54
Published by: Gurujothi on May 24, 2012 21:54Try something like this...
BEGIN
IF: PXX_LEAVE_TYPE = "Sick" THEN
UPDATE LEAVE_TYPE
THE PATIENT VALUE = SICK -: PXX_NO_OF_DAYS
WHERE EMP_NAME =: PXX_EMP_NAME;
ON THE OTHER
UPDATE LEAVE_TYPE
DEFINE CASUAL = CASUAL -: PXX_NO_OF_DAYS
WHERE EMP_NAME =: PXX_EMP_NAME;
END IF;
COMMIT;
END; -
How to conditionally display images based on the values of the variables
I am building a demonstration Captivate containing a slide branching that allows the user to choose which way they want to view; Once they are done, they come back on this slide branching, and I want a check mark to display the button/path that they have already completed.
I'm new to the use of variables and actionscript in Captivate, so I went the the documentation and the creation of variable is clear, as well as the use of conditional constructions, but I didn't know the instructions of scripts that look like they will allow me to display an image from the library when she is called in the conditional.
Is this possible? If so, a pointer to an appropriate documentation or sample code would be greatly appreciated.
Thank you
Josh
Hello
When you insert images of the box, you click the Options tab and give the image a name that you may recognize. Then clear the Visible check box. This allows to keep hidden until you want to show it.
However, note that even if all the image names are listed in the dialog box advanced Actions as being available for show, you will only be able to show an image if you run the fast Action of the blade where the image exists. So you will likely build a means by which you are setting up a variable to indicate that a section has been visited. Then create an action that is performed on slide enter to show the images based on the values of the variables.
See you soon... Rick
Useful and practical links
Captivate wish form/Bug report form
Maybe you are looking for
-
How to do a graphic logo analysis of right to left on the screen in 10.2.3?
-
To contact the unknown owner of an apple product.
I'm in Cameroon and I have an ipod with which I do not know if it was stolen by the owner in Belgium or I lost, everything I have is the serial number of the ipod and know it has registered to her icloud account, apple can help me contact the owner?
-
If you delete something in the cloud disappears from Apple device?
f you delete something in the cloud disappears from Apple device?
-
Adding video effects directly on the iPhone
Are there apps that allow you to edit the video in a simplistic way adding as text and other effects that would make a good video look more impressive?
-
Tecra A9 - utility Toshiba I would like to get rid of
It is presented on a Tecra A9 with Vista. Whenever my cursor touches the edge of the top of my screen (to close a tab of work Irfanview for example) this half gray toolbar transparent, black and downhill roll up after a few seconds. To setup my pc an