Turn off/on a tabular Form attribute depending on the value selected in another attribute
Dear Experts,
I have
1. an attribute in the form that is a select statement list containing 2 static values:
- Family
- Only
and I have
2 another attribute of tabular presentation that is display text (escape special characters, does not save the State), this attribute is also a link to another page.
My requirement is when I select the family of another select list this attribute must be enabled and when I select one it should be disabled.
Kindly help out me experts!
Thank you and best regards,
Madonna
Hey Madonna,
Please take a look at your page. I added a dynamic action that can be triggered by a change in the Type 'accompany' - selection list. dynamic action to display or hide the link 'Add family' according to the value of the selection list. the code of the dynamic action is as follows:
$('.myClass').each (function () {}
If ($(this).) Val() == 'Family') {}
$(this) .parent () .parent ().find('.open_modal').show)
} else {}
$(this) .parent () .parent ().find('.open_modal').hide)
}
})
where 'myClass' is the class that gave you to the selection list, and the "open_modal" is the class that gave you for the link.
I used a show and hide because you cannot disable a link.
I would like to know if that's what you had in mind.
Kind regards
Vincent
Tags: Database
Similar Questions
-
I have an iPhone 6 more, an official version of China, it shows a battery indicator when I turn off support, is this normal? I can depulicate this function to another iPhone? I know how?
I remember reading somewhere on the Apple site in recent years on some models of Chinese iPhone with this capability. No other iPhones display this and there is no way to enable it. I can't find the article which includes this information.
-
Had cracked screen but the phone works still. Today screen is become white, and the phone rang again. Did hard reset and now the phone is completely turned off and will not be exposed - not even the Red of the battery is displayed
He broke. Make an appointment at the genius bar and get it fixed / replaced. There is no magic words that will do well.
-
Toggle button depends on the value of the selected row
Hello.
My problem is:
I have a Table "singleSelect" and a button Delete.
I´d want to toggle the button depends on the value of the selected row.
I mean:
C1: DepartmentId
C2: Yes/No
For each line: If c2 = "" then disable the rest button activates the button.
I hope you can help me.
I'm from Venezuela my English is not very good. :)Disabled = "#{row." C2 eq 'No'} '.
-
How to enable and disable a button depending on the value of a field
Hello experts,
I enable and disable a button depending on the value of a field.
I did the following:
in a trigger of on_new_form_instrance I put the following
the problem is that it works but does not change when my header_status value is changed.begin go_block('OE_HEADER'); execute_query; IF :oe_header.status = 'BOOKED' THEN SET_ITEM_PROPERTY('CONTROL.ACTION',ENABLED,PROPERTY_FALSE); else SET_ITEM_PROPERTY('CONTROL.ACTION',ENABLED,PROPERTY_TRUE); end if; end;
You have to put the same code in when-validate-item trigger of: oe_header.status...
and I think that this code should be trigger after query
IF: oe_header.status = 'RESERVED' THEN
SET_ITEM_PROPERTY('CONTROL.) ACTION', ENABLED, PROPERTY_FALSE);
on the other
SET_ITEM_PROPERTY('CONTROL.) ACTION', ENABLED, PROPERTY_TRUE);
end if; -
In tabular form button to start the procedure with parameter
I have a column in my table presentation that calls a procedure.
I got this works with dynamic action related to a jquery selector.
Now this procedure (called dynamic action) takes a parameter. I need to pass the value of the column, the ID of the line. (it is the value in the column that appears as a button)
How to use this value in my procedure?
I tried to pass this value in the column link attributes to a page element, but this action is performed after the dynamic action is called.
Thanks for som advice!jstephenson wrote:
You should be able to try something like this: javascript:callMyPopup(#ROWNUM#). I do it on a column derived in tabular form. Inside of my callMyPopup I have also to retrieve a value from one of the other fields on the line. You should be able to check your html code to get the correct f0X id. Here's a piece of the callMyPopup function
If (bow<>
{
psearch = document.getElementById('f05_000'+pRow).value;
}
ElseIf (bow<>
{
psearch = document.getElementById('f05_00'+pRow).value;I hope this helps.
Thank you
Jeff
In fact, instead of these cases the conditions you can use an existing table:
document.wwv_flow. F05 [Prow], which gives you the item. You can then access any property of this element you want. ID, value, name etc.
Trent
-
Show/Hide button on the line on a tabular presentation depend on the values of line.
I want to show/hide (or toggle so easy) a button link to page of line on a dependant in a table on the other line values.
For example if I had a table, built form using the form wizard based on the EMP table with a query: -.
Select
EMPNO,
EMPNO EMPNO_DISPLAY,
ENAME,
EMPLOYMENT,
BISHOP.
HIREDATE,
SAL,
COMM,
DEPTNO,
'button' but1
from EMP
The column of buttons is used as a link to a page. But I only want to be displayed/activated if the WORK is a "SELLER". Does anyone know how to do this? Or give me any suggestions?
Another option would be to have a button under the lines enabled/disabled depending on when you click on a line and this line having a JOB "SELLING."
Thanks, PeteThen - under condition - select the exact anchor (+ image) of your select statement (and display it as as a standard report column).
(Unfortunately) does not allow any conditional display for a link (or a link element) in a tabular form (in the current version, should be a nice improvement however). -
Original title: virus Possible?
I am running Windows Vista Home Premium on a Toshiba laptop. The last time I tried to stop it, it froze (got as far as the last screen showing 'close', then didn't). The next time I turned it on the desktop would not load completely (white screen, no desktop icons, accesses start bar) and if I click on the desktop I get a message saying "Windows Explorer is unresponsive. I tried to scan antivirus, but that also froze. I ran Microsoft defender several times, and it always freezes on C:\windows\system32\cmd.exe. While I can access internet Explorer, I can't click on the links that would open a new page (gel once more). Finally I can't yet do a reboot or a full stop. If it's a virus, how can I solve the problem when no anti-virus software is running?
Any help would be greatly appreciated! I just moved across the world and have little knowledge of computers (but I'm much less following the instructions!). The last thing I need is for my laptop to be drunk so I can't communicate with the House...
Hello
Since you have had that protection antivirus in the next message will be methods to
carefully check for malware.TrendMicro must be uninstalled and replaced<- this="" is="" a="" must="" do!="" if="" you="" have="">->
problems to check with TrendMicro.Instructions/TrendMicro removal tool
http://eSupport.trendmicro.com/1/How-do-I-remove-old-or-new-versions-of-trend-micro-products-in-my-comp.aspxHow can I uninstall my Trend Micro program removal tools fail?
http://eSupport.trendmicro.com/pages/how-do-I-uninstall-my-trend-micro-home-and-Home-Office-program-if-the.aspxList of tools to clean/uninstall anti-malware programs
http://answers.Microsoft.com/en-us/protect/Forum/protect_start/list-of-anti-malware-program-cleanupuninstall/407bf6da-C05D-4546-8788-0aa4c25a1f91Uninstallers (removal tools) for common antivirus software
http://KB.eset.com/esetkb/index?page=content&ID=SOLN146------------------------
Here's what I use and recommend: (these are all free and very effective versions.)
Avast and Prevx proved extremely reliable and compatible with all I have
launched on them. Microsoft Security Essentials and Prevx have also proven to be very
reliable and compatible. Use MSE or Avast and Prevx, Prevx 3 but not all.Avast Home free - stop any shields is not necessary except leave the file system, Web,.
Operational network (Script and behavior are also recommended in Ver 6 +).Prevx - Home - free
Windows Firewall
Windows Defender (is not necessary if you use MSE)
Protected IE - mode
IE 8 - SmartScreen filter WE (IE 7 phishing filter)
I also IE always start with asset if filter InPrivate IE 8.
(It may temporarily turn off with the little icon to the left of the + bottom
right of IE)Avast - home - free - 7.x stop shields you do not use (except files, Web, network, &)
Shields of behavior) - double click on the icon in the Notification area - real time Orange - click on the
Shield that you want to stop - STOP. To stop the Orange icon to show an error indicator-
Click on the Orange icon - top right - settings - click on the status bar - uncheck shields you
disabled - click OK
http://www.avast.com/free-antivirus-downloadOr use Microsoft Security Essentials - free
http://www.Microsoft.com/Security_Essentials/Prevx works well alongside MSE or Avast
Prevx - home - free small, fast, exceptional protection CLOUD, working with other security
programs. It is a single scanner, VERY EFFICIENT, if it finds something come back here
or use Google to see how to remove.
http://www.prevx.com/ <-->-->
http://info.prevx.com/downloadcsi.asp?prevx=Y<-->-->Choice of PCmag editor - Prevx-
http://www.PCMag.com/Article2/0, 2817,2346862,00.aspAlso get Malwarebytes - free - use as scanner only. If you ever think malware and that
would be unusual with Avast and occasional Prevx running with the exception of a low level cookie
(not much), to UPDATE and then run it as a scanner. I have a lot of scanners and they
never find anything of note that I started to use this configuration.
http://www.Malwarebytes.org/products/malwarebytes_free=======================================
Do not type the sfcdetails command, copy and paste.
Many files that SFC cannot resolve are not important.
Start - type in the search box-> find CMD in top - click right on - RUN AS ADMIN
put the command from below (copy and paste) in this box and her and then press ENTER.
findstr/c: "[SR]" %windir%\logs\cbs\cbs.log > sfcdetails.txt
who creates the sfcdetails.txt file in the folder that you are in when you run it.
So if you're in C:\Windows\System32 > then you will need to look in that folder for the file.
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
in Windows Vista
http://support.Microsoft.com/kb/928228This creates sfcdetails.txt in C:\Windows\System32 find and you can post the errors in a message
here. NOTE: there are probably duplicates so please only post once each section error.You can read the newspaper/txt files easier if you right click on Notepad or Wordpad then RUN AS ADMIN - then
You can navigate to sfcdetails.txt (in C:\Windows\System32) or cbs.log (in C:\Windows\Logs) as needed.
(You may need to search sfcdetails.txt if it is not created in the default folders.)=================================================================
Did you do checks memory and updated the BIOS, chipset of low level drivers and major
embedded and separate device drivers?I hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">->
-
The WiFi signal off of my laptop Hp G62, but if I turn off the wireless then press it back and connect the laptop, keeeping in mind that my i phone to stay connected when the laptop is not.
Hello
To help you better, please answer these questions.
1. are you not able to connect the laptop with the wireless?
2. don't phone remains connected with the wireless?
You see the problem.
Troubleshooting your wireless network and Internet access (Windows 7)
Kindly get back to us with information, so that we can help you better.
-
I have an NVIDIA HDMI output connected to audio receiver 7.1 Onkyo TX - NR. 818. It is defined as the default output. When connected, it works well. When I turn off the receiver, the output goes to "not connected" and scene of my returns instantly becomes the default. When the monitor is switched on again, the HDMI out remains "not connected" and audio is directed to the monitor. If I unplug the pc HDMI cable and reconnect it, the HDMI from the receiver instantly responsive as default device. How can I stop her from doing this change, whenever I have turn off the receiver?
Hello
Good luck.
-
Hello
MY DV6-6B25TX is cutting off after 10-15 seconds, regardless of the battery power or AC power.
Here's the complete scenario of what happened in recent weeks:--
Two weeks back I was using the laptop with the power adapter is plugged in for charging, the battery got charged up to 99% then it stopped charging and display the battery icon text, "plugged in, not charging".
A return of the week, the battery was 20%, after plugging in the charger, always the same message "Plugged in, no charging current".
Now the laptop does not meet the key power when the battery is inserted.
If I remove the battery and back again, it starts without pushing the power button and turns off after 10 seconds, well before Windows starts.
She stops even on the Bios screen, OS is not definitely the question.
When I plug in charger and press the power button / stop, the same thing, i.e. starts and shutts off after 10 to 15 seconds, regardless of the BIOS or Windows startup screen.
I removed the ram and but again, but the problem still persists.
Also there is no issue of overheating due to dust, as I've barely used the laptop for a few hours, the phone is about 6 months and under warranty.
Please advice ASAP.
Thanks in advance.
Honestly, something prevents the battery charge. Computer laptop closing seconds after that reinsert the battery is a good indication the battery just is not getting charged. This could be a battery failure, charger, port, or in rare cases of charge motherboard.
Since it's under warranty, I recommend you contact HP support that there is no easy solution for this on the forums. It's a hardware problem.
The number of the Canada and the United States support is 1-800-474-6836.
-
Editing a text depending on the value of another field to text field
Hi guys,.
I am facing problem with the update of a field of dependent text in another text field.
I have 2 text fields. Both are date format. In the 1st text field enter a date, and in the following text field I need the value in the form date_in_previous_text + 30 days.
I used a query at the time to validate the point but it does not work. It is as follows.
If: txt_field1 is not null then
: txt_field2: =: txt_field1 + 30;
end if;
Please help me with the same.
Hello
u has not clarify what the problem, u just said the scenario but without any anomaly. Try to use the KEY-NEXT-ITEM trigger on the second level of the item.
Or POST-TEXT-ELEMENT trigger of the 2nd element.
Amatu Allah.
-
How we turn off IE msg when paste us data in the planning form
Hello
When paste us (ctrl - V) the data in a form web planning (11.1.1.3), we get the message in IE7:
"Do you want this webpage to access your Clipboard.
How we turn that off?You can try this:
1. go to Internet Options. --> The Security tab.
2. Select the internet zone, then click on the button "custom level."
3. under 'script'--> ' allow access option programmatic Clipboard "check disablehope this helps
-
apply the Visual attribute to save depends on the value
Hi guys, I have a form which, once interviewed may show 10 records at a time. What I want to do, it is that if a certain date field is less than the current date then apply the Visual attribute group to this whole record (which makes the Red record).
I guess that this code would go in the post and I would need to use the id line or something?
I approach it the wrong way.
Thank youYes, you can use the trigger after request for it. You don't need to worry of the identifier as forms already know that is being evaluated. Your code should resemble the following:
/* Sample Post-Query trigger */ /* This sample assumes you have created a Visual Attribute called "DATE_RED" */ BEGIN -- Just compare DATE not DATETIME IF ( Trunc(:BLOCK.CERTAIN_DATE) < Trunc(SYSDATE) ) THEN Set_Item_Instance_Property('BLOCK.CERTAIN_DATE',CURRENT_RECORD, Visual_Attribute, 'DATE_RED'); END IF; END;
In my sample code, you'll notice that I use the TRUNC function on the dates. This function will return only the date to compare looks like just the date. If you need to compare the date AND time, then just move the code example TRUNC function. ;)
Hope this helps,
Craig B-)If someone useful or appropriate, please mark accordingly.
-
my computer turns off on its own time, I'm in the middle of working on that
my computer powrs off by itself, when I come home at lunch and after work and in the morning when I get up is off, I can be in the middle of a game or just browse on and it stops please any help?
Could be overheating. If it goes out completely. If it is a fund open the case and give it a clean. It may be full of dust
Maybe you are looking for
-
My mini ipad 4 has no battery completely not discharged, called to the charger, but the system does not start. What should do? Already a time connected to the charger, but the system does not start. I have iPad 3 months and never suffered no damage.
-
Where to put "DataLayout" (2D data in the report)?
Hello IM using 2010 SP1 Teststand and Labview 2011. My question is about the plot of the data of the 2d tables in HTML Teststand report. I try to retrieve a table 2D x - y measurement data and it intrigues within the report file. Unfortuntly data is
-
How can I install the following microsoft digital
I'm not able to re - install the following microsoft digital photos... How can I do this?
-
How to re - download windows 8?
Windows 8 was preinstalled on my computer laptop lenovo. I accidentally formatted the hard drive during the installation of linux. How can I re - download windows 8? I know it's product key. Currently I'm using linux.
-
I have an older version of photo shop. I need an authorization code
I have an old version of photoshop and I need an authorization code. on the package it comes a CS but when it loaded information is Version 8"C:\Program Files (x 86) \Adobe\Photoshop.