Show/hide buttons based on templates
Hello1 is in any way to hide and show a button (the button style model based) dynamically?
2. If the button is an image (Image button style) is anyway to hide and show a button dynamically?
Thank you!
Hello:
I'll assume that you want to hide/show a button using javascript.
In General, if the button model has the sting of substitution ' #BUTTON_ATTRIBUTES # ' set, you can specify an attribute 'id' to the button in the button attributes of the button definition field. For an image based button you specify and 'id' in the attributes of the picture field. You can then display or hide these buttons using the
$x_HideItemRow ("
Tags: Database
Similar Questions
-
Show/Hide button, based on the user variable
I have a variable "videoDone" which is set to 1 when the SWF on my Captivate slide is completed.
My next button is hidden when the slide is displayed (Next hidden if the button videoDone = 0)
How to make the next visible button without having the user to interact with something on the slide? I want to not visible when videoDone = 1?
I can make it appear if I add a button to the screen that has a fast action (if videoDone = 1 show Next_button) but I want the next button to simply appear.
You need an event to trigger an action, and Captivate has no time-based events. It is impossible with the timeline?
-
I found the show/hide button toolbars, but you should know how to REMOVE toolbars that appear on this list?
Is attached a screenshot of my screen with the context menu to show/hide tabs. I want to delete some of them and let others. Please help me to know how. Thank you!
Hmm, maybe this "one-time" imported into the new preference? Try this:
(1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.
(2) in the search above the list box, type or paste the cust and make a pause so that the list is filtered
(3) double-click the preference of browser.uiCustomization.state and the content must be highlighted in a small dialog box.
(4) copy the whole line and paste it into Notepad and save it as a backup.
(5) in Firefox, click on the button '3-bar' menu > developer > Notepad. Remove the comment that appears and paste data preferably, that must appear on a long line. Click on the "Pretty Print" button to make it more readable.
So I hope that you can spot the extra toolbars and change them out, taking care to preserve the commas between the elements.
I don't have the extra toolbars in mine, but I copied and pasted back this spaced format and Firefox was able to handle it well. I went into customize and moved a button, and when I left, Firefox has rewritten the preference set as a single line. Assuming that yours works fine, then you can get rid of the backup from step (4).
-
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). -
Show/hide fields based on T/F control - only showing or hiding, not both.
Hi Forum,
I'm looking to show/hide fields address based on a T/F control (or a single entry check box).
My online form has a number of business address fields, a T/F control and a number of postal address fields. I want the mailing address fields to hidden when a user clicks on the box 'As Above' (and demonstrated once again if they click this box once more).
I used the sample code (https://docs.oracle.com/cloud/latest/process_gs/CPRCW/GUID-F3BD3386-F333-45C6-AA56-C77136D169E5.htm) as a starting point for my Web form rule and it works as expected the first time that a user clicks area T/F (i.e. He's hiding the post fields) but it does not work the second time they until it clicks (where I assumed that fields would still be visible).
The T/F box has the following options:
true = as above
false = No
And my web rule looks like this:
If (AsAbove.value = true) {}
PostalAddress.visible = true;
PostalState.visible = true;
PostalPostCode.visible = true;
} else {}
PostalAddress.visible = false;
PostalState.visible = false;
PostalPostCode.visible = false;
}
I tried the same thing (with similar results) using a Checkbox control with a single option (according to the example code)
If (PostalAddressCheckbox [0] .value == 'As Above') {}
PostalAddress.visible = true;
PostalState.visible = true;
PostalPostCode.visible = true;
} else {}
PostalAddress.visible = false;
PostalState.visible = false;
PostalPostCode.visible = false;
}
As verified does not seem to be supported, is there another way to accomplish what I'm after, or I missed something somewhere simple (and y at - it documentation on the T/F control)?
See you soon,.
James.
Hello
Web Forms address these true-false as the boxes and, as such, in the form of tables.
You can see if you try to print the TrueFalse value. You should get something like java object lang @XXXXXX
Try to put the code as follows (in bold and underlined):
If (AsAbove[0].value = true """""") {}
PostalAddress.visible = true;
PostalState.visible = true;
PostalPostCode.visible = true;
} else {}
PostalAddress.visible = false;
PostalState.visible = false;
PostalPostCode.visible = false;
}
This should do the trick
See you soon
José
-
Show/hide menu based on the logged in user
Hello
12.1.3 Jdev
I want to show/hide some menu items based on the logged in user.
I will explain the current design:
In my application, I created a menu as below. (It is created using 'Create or Update ADF Menu' file adfc_config).
ibis_menu. XML
<?xml version="1.0" encoding="windows-1252" ?> <menu xmlns="http://myfaces.apache.org/trinidad/menu"> <itemNode id="itemNode_home" label="Home" action="goHome" focusViewId="/home"/> <itemNode id="itemNode_transaction" label="Transaction" action="goTransaction" focusViewId="/transaction"/> <itemNode id="itemNode_customer" label="Customer" action="goCustomer" focusViewId="/customer"/> <itemNode id="itemNode_upload" label="Upload" action="goUpload" focusViewId="/upload"/> <itemNode id="itemNode_profile" label="Profile" action="goProfile" focusViewId="/profile"/> <itemNode id="itemNode_serviceRequest" label="Service Request" action="goServiceRequest" focusViewId="/serviceRequest"/> <itemNode id="itemNode_report" label="Report" action="goReport" focusViewId="/report"/> </menu>
I have a navigation pane in my Pages that use this menu as below:
<af:navigationPane hint="bar" id="np1" value="#{ibis_menu}" var="menuInfo"> <f:facet name="nodeStamp"> <af:commandNavigationItem id="ni1" text="#{menuInfo.label}" destination="#{menuInfo.destination}" action="#{menuInfo.doAction}"/> </f:facet> </af:navigationPane>
Now, I want to hide some items on the menu, depending on the Type of user loggedIn. I have the userType stored in the managed bean.
How can I get this feature.
An approach which I think is as below:
Define a variable for each itemNode in a managedbean(session scope) and who associate with the property ' visible ' / ' rendering ' of the itemNode in the Menu xml.
Please let me know is a good way to do it or is there another solution better?
See you soon
AJ
So, maybe this can help:
http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/48-sitemenu-protection-169190.PDF
-
Show/hide panelFormLayout based on the current selection of selectOneChoice
Hey all,.
I have a relatively basic question, I'm looking for a clear answer.
I have a layout with the following structure:
JSP:root
AF:panelFormLayout
AF:panelGroupLayout
-component selectOneChoice
AF:panelFormLayout
AF:panelGroupLayout
ADF - components
AF:panelFormLayout
AF:panelGroupLayout
ADF - components
AF:panelFormLayout
AF:panelGroupLayout
ADF - components
I'm looking for the easiest way to show/hide the 3 children of panelFormLayout based on what is selected in the selectOneChoice component. I've hard-coded these values and set their values like "1, 2, 3" respectively.
I've already tried defining a ValueChangeListener on the selectOneChoice component, but when I run the page and change the value - it doesn't seem to be hitting my method when I select something.
Any help would be appreciated.
JDev Version is 11.1.1.7
Please add autoSubmit true on the selectOneChoice element and try, it will hit valueChangeListener.
Also, you can set three PFL render property conditionally in your VCL and make a real at the same time.
Thank you
-
Show / Hide button to Drop down works only once
Hello
I use RH10. I have about 10 drop-down text on a page.
I created only one show / hide all the button for my menu drop-down texts according to the procedure mentioned here.
http://www.Grainge.org/pages/various_rh_projects/rh_twisty2/index.htm
I get it almost immediately when I followed the instructions and the project. Except that my Show / button hide become inactive after a single use of these two functions, i.e., I can only once to display all click and click again to hide all. After that, either I have to refresh the browser or go to something else and come back to make it work. What could be the cause?
I use 17.0.7 FireFox and IE8.
Anthony
I see only one image to your project. Although the user sees as a method of a button, there are two buttons, one for the show and one to hide.
See the default value and must appear in the Images when you create the link. Hide is the one who must be in the luggage.
Have you downloaded the demo rather than just the PDF?
See www.grainge.org for creating tips and RoboHelp
-
Dynamic action - show/hide area based on LOV that returns the ID
Hi people,
This should be simple, so someone who works with dynamic actions.
I have a LOV based on query below:
Agenda: P200_KOD is based on LOV that displays KOD and returns the ID.select OBJECT_ID, KOD from x_data x; retuns: ID KOD ---------------------------- 492961 BMW 492964 VOLVO 492960 MERCEDES 492963 VOLKSWAGEN 492959 SKODA
On my page, I have also 1 region called TEST_REGION.
I want to put in place a testament of shich dynamic action SHOW/HIDE a TEST_REGION based on the value selected in the order of the day: P200_KOD (LOV). Region should be shown if displayed (KOD) selected ID value begins with '% V '.
By other words, if following query returns any folder, then the SHOW, HIDE it on the other:
How can I define a condition of dynamic action fires, for article: P200_KOD?select * from x_data x where x.kod like 'V%' and x.object_id = :P200_KOD;
Thank you
TomasHello
One way:
Create an advanced dynamic action.
Name: Region to hide
Event: change
Selection type: item (s)
Items (s): P200_KOD
Condition: Expression of JavaScript
Value:$(this.triggeringElement).children("option:selected").html().substring(0,1) !== "V"
Action: hide
Fire on the Page loading: true
Hide all items on the page on the same line: No.
Action of false: show
Fire on the Page loading: true
Display all items in the page on the same line: No.
Selection type: region
Region: TEST_REGIONKind regards
Jarihttp://dbswh.webhop.NET/dbswh/f?p=blog:Home:0
-
How to show/hide point based on the value of Radiogroup
Hello
I'm having a Radiogroup with a yes/no value.
I have something else to say... P1_TEXT1
I want to show / hide point P1_TEXT1 based on the value selected in the radiogroup.
If I select Yes - agenda should be displayed
If I select non - element should be hidden
I don't want to send the page.
Thank you
Deepakon your page go to edit page under the attribute of the HTML body of the Page then you need to put the following text:
onload="MyFunction;"
You must have tobe your function name Myfunction. Pass the item to your function in your code?
Could you post your code js here and we could have a look for you?
-
Show/hide fields based on the drop-down list
Hello
I'm trying to show/hide subforms with a drop-down list selection. I found a lot of information on the subject and ended up with what my script:
form1.Page1.Division::exit - (JavaScript, client) switch (Page1.Division.rawValue) { case "1": SubformZZI.presence = "visible"; SubformZZR.presence = "hidden"; break; case "2": SubformZZI.presence = "hidden"; SubformZZR.presence = "visible"; break; }
However, it does nothing when a selection is made in the drop-down list. I have the "SubformZZI" initially defined as 'Visible' and the 'SubformZZR', originally defined as "hidden".
Any suggestions?
Kind regards
ZeroZone
Check if the form is saved in dynamic form. File-> save as and choose dynamic for the type of shape...
Other that that, you should check if you have given the values for the selection of the drop-down list as '1' and '2' in the tab of the control's binding.
Thank you
Srini
-
How to show/hide div based on the value of mysql
I have a dataset that contains a 'locked' column, which is a Boolean value that I want to use to remove a button on a form. The idea is that it will be fixed to 1 after a period of time, thus eliminating the buttun that connects to an update form and prevent the data being edited. Currently I have the field bound to a checkbox at the top of the table. How can I use this to hide the button (or any other html element) when the value 1 and show the item when the value 0? I understand that I need to create a php mysql boolean variable and then use a loop if/else statement to hide/show the html code but I don't know how impliment that? Thanks for any help.
Here is the code:
<? php require_once('Connections/testmypms.php');? >
<? PHP
$currentPage = $_SERVER ['PHP_SELF'];
$maxRows_spec_rx = 10;
$pageNum_spec_rx = 0;
If (isset($_GET['pageNum_spec_rx'])) {}
$pageNum_spec_rx = $_GET ['pageNum_spec_rx'];
}
$startRow_spec_rx = $pageNum_spec_rx * $maxRows_spec_rx;
$colname_spec_rx = "1";
If (isset($_GET['pxID'])) {}
$colname_spec_rx = (get_magic_quotes_gpc())? $_GET ['pxID']: addslashes($_GET['pxID']);
}
@mysql_select_db ($database_testmypms, $testmypms);
$query_spec_rx = sprintf ("SELECT spec_rx.spec_rx_id, spec_rx. FK_px_id, DATE_FORMAT (spec_rx.spec_rx_date, ' % d-% m-% Y') as formatted_rx_date, spec_rx. FK_user_id, spec_rx.spec_rx_rsph, spec_rx.spec_rx_rcyl, spec_rx.spec_rx_raxis, spec_rx.spec_rx_rhprism, spec_rx.spec_rx_rhprismbase, spec_rx.spec_rx_rvprism, spec_rx.spec_rx_rvprismbase, spec_rx.spec_rx_rnadd, spec_rx.spec_rx_rnhprism, spec_rx.spec_rx_rnhprismbase, spec_rx.spec_rx_rnvprism, spec_rx.spec_rx_rnvprismbase, spec_rx.spec_rx_rintadd, spec_rx.spec_rx_rinthprism, spec_rx.spec_rx_rinthprismbase spec_rx.spec_rx_rintvprism, spec_rx.spec_rx_rintvprismbase, spec_rx.spec_rx_lsph, spec_rx.spec_rx_lcyl, spec_rx.spec_rx_laxis, spec_rx.spec_rx_lhprism, spec_rx.spec_rx_lhprismbase, spec_rx.spec_rx_lvprism, spec_rx.spec_rx_lvprismbase, spec_rx.spec_rx_lintadd, spec_rx.spec_rx_linthprism, spec_rx.spec_rx_linthprismbase, spec_rx.spec_rx_lintvprism, spec_rx.spec_rx_lintvprismbase, spec_rx.spec_rx_lnadd, spec_rx.spec_rx_lnhprism spec_rx.spec_rx_lnhprismbase, spec_rx.spec_rx_lnvprism, spec_rx.spec_rx_lnvprismbase, spec_rx.locked, users.user_id, users.user_firstname, users.user_surname FROM spec_rx, users WHERE %s = spec_rx. FK_px_id AND spec_rx. (FK_user_id = users.user_id ORDER BY spec_rx.spec_rx_date DESC, spec_rx.spec_rx_id DESC', $colname_spec_rx);
$query_limit_spec_rx = sprintf ("%s LIMIT %d, %d", $query_spec_rx, $startRow_spec_rx, $maxRows_spec_rx);
$spec_rx = mysql_query ($query_limit_spec_rx, $testmypms) or die (mysql_error ());
$row_spec_rx = mysql_fetch_assoc ($spec_rx);
If (isset($_GET['totalRows_spec_rx'])) {}
$totalRows_spec_rx = $_GET ['totalRows_spec_rx'];
} else {}
$all_spec_rx = mysql_query ($query_spec_rx);
$totalRows_spec_rx = mysql_num_rows ($all_spec_rx);
}
$totalPages_spec_rx = ceil($totalRows_spec_rx/$maxRows_spec_rx)-1;
$colname_demographics = "1";
If (isset($_GET['pxID'])) {}
$colname_demographics = (get_magic_quotes_gpc())? $_GET ['pxID']: addslashes($_GET['pxID']);
}
@mysql_select_db ($database_testmypms, $testmypms);
$query_demographics = sprintf ("SELECT demographics.px_id, demography. FK_title_id, demographics.firstname, demographics.surname, DATE_FORMAT (demographics.dob, ' % d-% m-% Y') as formatted_dob, title.title_id, title.title FROM demographics, title WHERE %s = demographics.px_id AND demography. (FK_title_id = title.title_id", $colname_demographics);
$demographics = mysql_query ($query_demographics, $testmypms) or die (mysql_error ());
$row_demographics = mysql_fetch_assoc ($demographics);
$totalRows_demographics = mysql_num_rows ($demographics);
$queryString_spec_rx = "";
If (! empty($_SERVER['QUERY_STRING'])) {}
$params = explode ("&", $_SERVER ['QUERY_STRING']);
$newParams = array();
{foreach ($params as $param)
If (stristr ($param, "pageNum_spec_rx") == false & &)
stristr ($param, "totalRows_spec_rx") == false) {}
return ($newParams, $param);
}
}
If (count ($newParams)! = 0) {}
$queryString_spec_rx = '& '. htmlentities (implode ("&", $newParams));
}
}
$queryString_spec_rx = sprintf ("& totalRows_spec_rx = %d %s", $totalRows_spec_rx, $queryString_spec_rx);
? >
< ! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional / / IN" "http://www.w3.org/TR/html4/loose.dtd" > ""
< html >
< head >
< meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 ">"
< title > Spec Rx3 < /title >
< script language = "JavaScript" type = "text/JavaScript" >
<!--
function MM_goToURL() {//v3.0
var i, args is MM_goToURL.arguments; document. MM_returnValue = false;
for (i = 0; i <(args.length-1); I += 2) eval(args[i]+".location='"+args[i+1]+"'");
}
->
< /script >
< / head >
< body >
Rx Spec < p > < /p >
< p > <? PHP echo $row_demographics ["px_id"];? > < / p >
< p > <? PHP echo $row_demographics ['title'];? > <? PHP echo $row_demographics ["FirstName"];? > <? PHP echo $row_demographics ['name'];? > <? PHP echo $row_demographics ["formatted_dob"];? > < / p >
< p >
< input name = "Add_spec_rx" type = "button" id = "Add_spec_rx" onClick = "MM_goToURL ('parent', 'add_spec_rx.php'); return document. MM_returnValue' value = 'New Rx' >
< /p >
< p > < a href = "<?" PHP printf ("%s? (pageNum_spec_rx = %d %s", $currentPage, max (0, $pageNum_spec_rx - 1), $queryString_spec_rx);? > "> previous < /a > < a href =" <? PHP printf ("%s? (pageNum_spec_rx = %d %s", $currentPage, min ($totalPages_spec_rx, $pageNum_spec_rx + 1), $queryString_spec_rx);? > "> Next < /a > < /p >"
<? PHP {? >}
< table border = "1" cellspacing = "1" cellpadding = "5" >
< b >
< td > < table >
< td > <? PHP echo $row_spec_rx ["formatted_rx_date"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_id"];? > < table >
< td > locked:
< input <? PHP if (!) ((strcmp($row_spec_rx['locked'],1)))) {echo 'checked' ;}? > name = 'locked' type = "checkbox" id = "locked" value = "1" > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< /tr >
< b >
< td > < table >
SPH < td > < table >
Cyl < td > < table >
Axis of < td > < table >
HPrism < td > < table >
HPrismBase < td > < table >
VPrism < td > < table >
VPrismBase < td > < table >
NrAdd < td > < table >
NrHPrism < td > < table >
NrHPrismBase < td > < table >
NrVPrism < td > < table >
NrVPrismBase < td > < table >
IntAdd < td > < table >
IntHPrism < td > < table >
IntHPrismBase < td > < table >
IntVPrism < td > < table >
IntVPrismBase < td > < table >
< /tr >
< b >
< td > < table > R
< td > <? PHP echo ($row_spec_rx ['spec_rx_rsph'] <>null)? sprintf ("%+4.2f", $row_spec_rx ['spec_rx_rsph']): null;? > < table >
< td > <? PHP echo ($row_spec_rx ['spec_rx_rcyl'] <>null)? sprintf ("%+4.2f", $row_spec_rx ['spec_rx_rcyl']): null;? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_raxis"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_rhprism"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_rhprismbase"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_rvprism"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_rvprismbase"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_rnadd"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_rnhprism"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_rnhprismbase"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_rnvprism"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_rnvprismbase"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_rintadd"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_rinthprism"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_rinthprismbase"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_rintvprism"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_rintvprismbase"];? > < table >
< /tr >
< b >
< td > < table > L
< td > <? PHP echo ($row_spec_rx ['spec_rx_lsph'] <>null)? sprintf ("%+4.2f", $row_spec_rx ['spec_rx_lsph']): null;? > < table >
< td > <? PHP echo ($row_spec_rx ['spec_rx_lcyl'] <>null)? sprintf ("%+4.2f", $row_spec_rx ['spec_rx_lcyl']): null;? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_laxis"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_lhprism"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_lhprismbase"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_lvprism"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_lvprismbase"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_lnadd"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_lnhprism"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_lnhprismbase"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_lnvprism"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_lnvprismbase"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_lintadd"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_linthprism"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_linthprismbase"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_lintvprism"];? > < table >
< td > <? PHP echo $row_spec_rx ["spec_rx_lintvprismbase"];? > < table >
< /tr >
< b >
< td > < table >
< td > user ID <? PHP echo $row_spec_rx ['user_id'];? > < table >
< td > <? PHP echo $row_spec_rx ['user_firstname'];? > < table >
< td > <? PHP echo $row_spec_rx ["user_surname"];? > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< td > < table >
< /tr >
< /table >
< p > < / p >
<? PHP} while ($row_spec_rx = mysql_fetch_assoc ($spec_rx));? >
< p > < / p >
< p > < / p >
< p > < / p >
< / body >
< / html >
<? PHP
mysql_free_result ($spec_rx);
mysql_free_result ($Demographics);
? >
barrydocks wrote:
I don't know there must be a more elegant way to do it!
<>
If ($row_spec_rx ['locked'] == 1) {}
echo 'button html goes here ";
}
else {}
echo "something else";
}
?>
-
Show/hide fields based on the user's selection
I know little of Javascript, but my first attempts to integrate it in Acrobat are bothersome. I have created a simple form where the user via a check box the number of people that he or she must register, then the form shows that several fields to complete. I tried to make it work with a single field, before I add more.
In this example, I'm trying just to get the second hidden registered field if the user checks only 1 person to register. (I already know that I have issues when it comes to hide several fields).
If (event.target.value == "0") {}
this.getField("Registrant2").display = display.hide;
}
Given that I do not know what is the value of exports, try this:
If (event.target.value! == 'Off') {}
this.getField("Registrant2").display = display.hidden;
}
You can add an else clause so that the field is displayed when the check box is not selected:
If (event.target.value! == 'Off') {}
this.getField("Registrant2").display = display.hidden;
} else {}
this.getField("Registrant2").display = display.visible;
}
If this does ' t work, you don't maybe not the correct domain name. Verify that the console (Ctrl + J) to see all JavaScript errors are reported.
-
Show/hide of a player template; Workaround solution?
Hello!
I'm working on a several page form for my company to be used in three different States. With this master document, I have three different sets of supplementary forms (Applications of title, for example) that must be appended to the document according to state selected (via the check boxes on the front page).
I understood how to do this job using models and copy the following code (placed under Actions; mouse upward under the properties of the check box):
if(Event.Target.Value!="Yes")
{this.getTemplate("NH_TITLEAPP").hidden = true ;}
on the other
{this.getTemplate("NH_TITLEAPP").hidden = false ;}
My problem is the following; not all of my target Adobe Acrobat users have (only to have the player), and the 'hidden' property does not work with the player (why?).
I tried 'spawning' pages of the template which works fine in the drive, but I could not understand a simple way to get delete pages added if someone checks a box by accident. Instead, when "uncheck you" the box the page just generates again.
I'm desperately looking for a workaround solution; either a way to let the drive to 'hide' the model; or a way sure to delete a page generated by clearing a check box.
Any help would be greatly appreciated! I've already spent hours trying to find a workaround... Googling is not effective when it comes to something complicated like that.
Thank you!
After spawn you a model and that you no longer need, you can remove the page that has been added by using the doc.deletePages method, which works with the drive for pages that have been added by a model of spawning.
If unchecking that checkbox will cause this page to be generated again, then you will need to reconfigure or reprogram the action of the mouse upward so that it generates the model when selected and removed the page when it is disabled.
-
How to create the 'More' link to show/hide button the rest of the text
Hi everyone thanks for reading, I am currently working on Adobe Contribute CS5 and I want to set up a button link 'More' to view the rest of the text or to hide. The existing file, it is in php and html and according to experts of Adobe Contribute CS5 is not feature or tool to achieve this in CS5, but they suggested that I can do that by using Dreamweaver, however, I am new to it. Any help to get me started will be much appreciated. Currently, the page is very long and we would like to do better.
I want to do is something like this:
Is there any plugin or tool as Simple author box - WordPress Plugins
What can I do?
Thank you very much!
You can't do things advanced with Contribute. Without coding skills, you're kind of stuck with what you have until you switch to something more robust. WordPress plugins only work with WordPress web sites.
Below, an example of a MORE or LESS simple with jQuery.
Nancy O.
Maybe you are looking for
-
Cannot figure out how to stop iPhoto crashing :(
Hello I'm currently under Max OS X Version 10.6.8. When I connect my iPhone to my Macbook and launch iPhoto to automatically start uploading photos, the program shuddered and crashes. I have this message: Process: iPhoto [332] Path: /Applications/iPh
-
So, ReadyCloud is very convenient, especially for me to perform remote maintenance, but there is no reason to make it possible to delete files on our NAS server remotely. Rather, I'm terrified that someone anywhere in the world has only to work on a
-
Why my filezilla only concert to a server?
Why my FileZilla only concert to a server?
-
Bluescreen IRQL_NOT_LESS_OR_EQUAL
Windows has been crashing a lot lately, sometimes gives me the blue screen memory dump and reboot on its own. Sometimes I have an IRQL_NOT_LESS_OR_EQUAL blue screen which does nothing and I have to manually restart the computer. Usually occurs durin
-
Description: Stopped working Signature of the problem: Problem event name: APPCRASH Application name: GfxUI.exe Application version: 8.15.10.2555 Application timestamp: 4e972e9a Fault Module name: KERNELBASE.dll Fault Module Version: 6.1.7601.18015 T