Hide/ Show Field Labels
On my form I have field labels that are part of base layer and set like below
Last Name____________________________________________________
Is there any way have them show and hide when their associated fields hide/show? or hide when printing them adobe or adobe reader?
Acrobat has an option to print only form fields.
Reader does not have this feature.
It is also possible to cover the field labels with form fields that have a fill color and only appear on the printed output.
You might want to learn more about the PDF format and forms. There are many free references about the PDF format and forms.
Similar Messages
-
Hide / Show fields in screen
Hi!.
How can I desactive the right-click option in screen:
*'user's options':
hide/show fields of screen in a web dynpro?.
I don't want that users change the design of the web dynpro, and they hide the fields.
Thanks in advance.
Anahi ana........
each and every ui element in webdynpro has a property called visibility.
bind this property to an attribute of type wdui_visibility.
at runtime pass value to this attribute as abap_true or abap_false for hidin or showing the fields.
---regards,
alex b justin -
Can't hide text field label..only text field
I'm trying to display text field boxes on a form to fill out when a box is checked. I'm able to do this for the actual text field, but can't figure out how to hide then show the associated text field label. Can you tell me what I'm doing wrong?
Thanks!
var nHide =
event.target.isBoxChecked (0) ? display.visible:display,hidden;
this.getField ("Name").display = nHide; this.getFieldFirst of all, you're using Acrobat JavaScript in an XFA form, which doesn't work.
LiveCycle Designer has its own interpretation of JavaScript, which is different to Acrobat.
There is also a second scripting language called FormCalc available.
Its syntax is much easier to learn and is matches perfectly to manipulate XFA forms.
Check the help (F1 button) in Designer to get the Designers scripting guide. -
How to dynamically hide the Field Label in the overview page's form view?
Hi Experts,
How to dynamically hide, for certain condition, the Field Label in the overview page's form view?
Please reply me.
Regards,
VishalHi Vishal,
It is not possible to dynamically hide/display fields if the UI is build using configurations.
The work around is to have multiple configurations, and based on the condition, load the
corresponding configuration at runtime.
The other approach is to code the complete htm view(htm coding) without using the configuration provided by the framework.
Regards,
Leon -
I have been scouring the internet looking for a solution, but have not found one that fits my exact scenario so any help is much appreciated. I am creating a form with Acrobat Pro and want to enable/disable or hide/show (either will work) three fields. Two of the fields are text fields called "dollars1.0.1.0.0" and "units1.0.0.1.0". The third is a check box called "Check Box5.0.0". What I am trying to acheive is fairly straigt forward. If one is entered, then the others either need to be hid or disabled. If the data in one of the fields is removed, then the others need to be once again made available. Here are the scenarios:
If "dollars" are entered = hide/disable check box and "units" text field.
If "check box" is checked = hide/disable "dollars" and "units" text fields.
If Units are entered = hide/disable check box and "dollars" text field.
If "sell all" is checked = hide/disable "dollars" and "units" text fields.
Code is housed in checkbox: Mouse Up/Run a Java Script
var nHide = event.target.isBoxChecked(0)?display.hidden:display.visible;
this.getField("Units1.0.0.1.0").display = nHide;
this.getField("Dollars1.0.1.0.0").display = nHide;
*****This works until I check the "Sell All" in the next row down then the dollars and unit fields in the row above become enabled again, which I don't want.
If "dollars" are entered = hide/disable check box and "units" text field.
Code is housed in a separate text box in Custom Calc Script
var bReady = true;
if(this.getField("Dollars1.0.1.0.0").value.length == 0)
bReady = false;
if(bReady)
this.getField("Units1.0.0.1.0").display = display.hidden;
else
this.getField("Units1.0.0.1.0").display = display.visible;
if(bReady)
this.getField("Check Box5.0.0").display = display.hidden;
else
this.getField("Check Box5.0.0").display = display.visible;
*****This works except it doesn't hide the checkbox.
If Units are entered = hide/disable check box and "dollars" text field.
Code is housed in a separate text box in Custom Calc Script
var bReady = true;
if(this.getField("Units1.0.0.1.0").value.length == 0)
bReady = false;
if(bReady)
this.getField("Dollars1.0.1.0.0").display = display.hidden;
else
this.getField("Dollars1.0.1.0.0").display = display.visible;
if(bReady)
this.getField("Check Box5.0.0").display = display.hidden;
else
this.getField("Check Box5.0.0").display = display.visible;
*****This one seems to work how I want it to.I have been scouring the internet looking for a solution, but have not found one that fits my exact scenario so any help is much appreciated. I am creating a form with Acrobat Pro and want to enable/disable or hide/show (either will work) three fields. Two of the fields are text fields called "dollars1.0.1.0.0" and "units1.0.0.1.0". The third is a check box called "Check Box5.0.0". What I am trying to acheive is fairly straigt forward. If one is entered, then the others either need to be hid or disabled. If the data in one of the fields is removed, then the others need to be once again made available. Here are the scenarios:
If "dollars" are entered = hide/disable check box and "units" text field.
If "check box" is checked = hide/disable "dollars" and "units" text fields.
If Units are entered = hide/disable check box and "dollars" text field.
If "sell all" is checked = hide/disable "dollars" and "units" text fields.
Code is housed in checkbox: Mouse Up/Run a Java Script
var nHide = event.target.isBoxChecked(0)?display.hidden:display.visible;
this.getField("Units1.0.0.1.0").display = nHide;
this.getField("Dollars1.0.1.0.0").display = nHide;
*****This works until I check the "Sell All" in the next row down then the dollars and unit fields in the row above become enabled again, which I don't want.
If "dollars" are entered = hide/disable check box and "units" text field.
Code is housed in a separate text box in Custom Calc Script
var bReady = true;
if(this.getField("Dollars1.0.1.0.0").value.length == 0)
bReady = false;
if(bReady)
this.getField("Units1.0.0.1.0").display = display.hidden;
else
this.getField("Units1.0.0.1.0").display = display.visible;
if(bReady)
this.getField("Check Box5.0.0").display = display.hidden;
else
this.getField("Check Box5.0.0").display = display.visible;
*****This works except it doesn't hide the checkbox.
If Units are entered = hide/disable check box and "dollars" text field.
Code is housed in a separate text box in Custom Calc Script
var bReady = true;
if(this.getField("Units1.0.0.1.0").value.length == 0)
bReady = false;
if(bReady)
this.getField("Dollars1.0.1.0.0").display = display.hidden;
else
this.getField("Dollars1.0.1.0.0").display = display.visible;
if(bReady)
this.getField("Check Box5.0.0").display = display.hidden;
else
this.getField("Check Box5.0.0").display = display.visible;
*****This one seems to work how I want it to. -
Using jquery to hide/show field based on query results
I have a form that includes fields for country and state/province. Initially, the state field is hidden. When the user selects a country, I use a bind expression in the state field to get the states in the selected country. I want to display the state field only if the country has states (since some countries don't). Can someone tell me how to do this? Here's the relevant stuff:
<script>
$(document).ready(function() {
$('#stateID').hide();
$('#stateIDLable').hide();
</script>
Country:
<cfselect name="countryID" query="qryCountries" value="countryID" display="country" />
<div id="stateIDLable">State or Province:</div>
<cfselect id="stateID" name="stateID" bind="cfc:geography.getStates({countryID})" />
Thanks.
PeteI presume you have a JavaScript function that handles the results of the cfc binding?
If you don't you will need to incorperate one. Then, as well as populating the second select, this function can use logic to show the second set of controls. -
Hi experts.
I have a PLD based on sales quotation in SAP B1 2007A PL38. On this pld I currently have 2 amount fields. One is for sub totals and the other one for regular line totals. The reason for two fields is based on the fact that sub totals should appear with a bold font.
OK, now to the issue in question; I need to put yet another field with amount on to the document rows of the PLD. This field is a UDF that contains a third amount. In addition I have some rules that sets the conditions for when the different fields should appear and not.
If there is no data in UDF field - then regular amount should appear
If there is data in UDF field - then UDF amount should appear
If the line is a subtotal - then font should be bold and subtotal amount should appear
Can someone please guide me on how to set conditions in PLD to make this logic?
Thanks and regards,
RunarFor this
If there is no data in UDF field - then regular amount should appear
If there is data in UDF field - then UDF amount should appear
You could add a Formula field which checks the value of the UDF. Also the UDF field should be added twice, one to be checked in the formula and another that prints. If the UDF field on the PLD is F_230 then the formula can be
F_230 > 0 or something like that
Link this formula field to the second UDF. Add another Formula F_230 == 0
Link this formula to the Regular Amount field on the row. -
Can we hide the field in Shopping Cart of SRM
Hi..
Can we hide the field in Shopping Cart of SRM??
I have to hide some of the fields from SRM shopping cart screen. is it possible to hide the fields??
Please suggest me
Thanks.
Regards,
Manoj TiwariHy,
For screen variants, just go to transaction SHD0.
The only screen variants available in SRM 4.0 are:
Item data overview in an invoice without purchase order reference: BBP_IV_NON_PO
Item data overview in the invoice with purchase order reference: BBP_IV
Item data overview in the confirmation: BBP_CF
Item data overview in the confirmation for time recording: BBP_CF_TIMEREC
Item data overview in the purchase order: BBP_PO;
Item data overview for contracts: BBP_CTR_ITEMLIST
Item data overview for selection of contracts: BBP_CTR_ITEM_SELLIST
Search results for entering an invoice and/or confirmation: BBP_SEARCH_PO
Search results for entering a purchase order: BBP_SEARCH_SC
Search results for displaying/processing an invoice: BBP_CHANGE_IV
Search results for displaying/processing a confirmation: BBP_CHANGE_CF
Search results for entering/displaying/processing/status of a shopping cart: BBP_SC;
Worklist for Sourcing: BBP_SOCO_WL
Work area in Sourcing: BBP_SOCO_GA
This is very light, and most of the SRM project have to make Templates, or ABAP screens repairs, to Hide/Show fields.
Regards.
Vadim -
Hide/Show the items in form
Hi all,
I am having one form in oracle apex3.1 and having some form elements like below.
================================
NAme : textbox
job : radio botton with (freshor,experieced)
year of experience : tx
if i select the experienced from job radio , i have to display "year of experience : tx" otherwise no need to display that row.
=================================
Please help me . i am trying last one month . Please give me step by step procedure.
Thanks in advance.
Regards
Dhanush.Rfunction onchange_jobtype(pValue) {
var empIdFField ="P2_REM_EMP_ID";
var empNameFField ="P2_REM_EMP_NAME";
var contNameFField ="P2_REM_CONTRACT_NAME";
var empIdlField ="L_P2_REM_EMP_ID";
var empNameLField ="L_P2_REM_EMP_NAME";
var contNameLField ="L_P2_REM_CONTRACT_NAME";
if(pValue=="None") {
html_HideElement(empIdFField);
html_HideElement(empIdLField);
html_HideElement(empNameFField);
html_HideElement(empNameLField);
html_HideElement(contNameFField );
html_HideElement(contNameLField);
else if(pValue=="Employee") {
html_ShowElement(empIdFField);
html_ShowElement(empIdLField);
html_ShowElement(empNameFField);
html_ShowElement(empNameLField);
html_HideElement(contNameFField );
html_HideElement(contNameLField);
else if(pValue=="Contract") {
html_HideElement(empIdFField);
html_HideElement(empIdLField);
html_HideElement(empNameFField);
html_HideElement(empNameLField);
html_ShowElement(contNameFField );
html_ShowElement(contNameLField);
From above JS, I am able to hide/show the Textfields. But i am not able to hide/show the Label . Already I have created the Label and set the addition id.
Please suggest me , how can i proceed on this ? -
SharePoint 2013: Hide/Show Column fields while uploading document in Document Library
Dear all,
I have created a document Library LIB001 and I have created One Column of type Choice, drop down list, (CCHOICE) and I have created 3 other columns, (Column1, Column2, Column3).
What I want is while uploading a file in the document library, when I choose a certain value from CCHOICE, i want to show/hide and/or make the column mandatory.
Can anyone help/guide me how to achieve this?
Many Thanks
VinayDear all, I am trying the following code, but it's not entering the onchange of drop down list event. <script> $(document).ready(function () { var countryField = SPUtility.GetSPField('Document Type'); var countryFieldValue = countryField.GetValue(); alert
(countryFieldValue); // ----- Hide/Show the field based on new selected value. var id = SPUtility.GetSPField('Document Type').Dropdown.id; alert ('field ID: '+id); $('#' + id).on('change', function () { alert ('Inside on Change:'+countryFieldValue); if (countryFieldValue
== 'Type1') { SPUtility.GetSPField('Column1').Hide(); } else if (countryFieldValue == 'Type2') { SPUtility.GetSPField('Column2').Hide(); } }); }); </script> Can anyone help me please. Many Thanks & Regards Vinay -
Show/Hide JSF field based on SelectOnceChoice using Model Driven List
Hello All,
I have a use case where I want to show or hide fields based on values populated in SelectOneChoice. I have View master and View Lookup, master has a field named product which displayed selectiononechoice of product name built using lookup view as accessor. I am storing id of lookup type inside product column. Based on a product name say "abc" I want to hide subsequent fields. Can anyone please tell me how to implement this?
I am using ADF 11g version 11.1.2.
Thanks,
DipalIf I understand you correctly, you are trying to show/hide subsequent fields based on the value selected from a selectonechoice?
Did you try using partial triggers and EL for setting the rendered attribute on subsequent fields and setting autosubmit to true on selectonechoice?
Kristjan -
How to hide the fields with labels when page re-rendering
Hi Gurus,
Please help me to hide the fields with labels when page is re-rendered.
I have written a on load : before process also.
But it is not working
Thanks in advance
kavitha LHi jari and Bruce,
Thanks for your reply. I am sorry that, i am not clear
I have a javascript like
function showcase()
var ctry = document.getElementById('P3_CHANNEL').value;
if(ctry == 'Affiliate') {
$x_Hide('P3_PUBLLICATION');
$x_Hide('P3_PUBLLICATION_label');
$x_Hide('P3_CIRCULATION');
$x_Hide('P3_CIRCULATION_label');
$x_Hide('P3_MEDIA_CPM');
$x_Hide('P3_MEDIA_CPM_label');
$x_Hide('P3_RATE_CARD');
$x_Hide('P3_RATE_CARD_label');
$x_Hide('P3_DISCOUNT');
$x_Hide('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Hide('P3_DAREA');
$x_Hide('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Direct Mail')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'E-Mail')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if((ctry == 'Online') || (ctry == 'PPC'))
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Hide('P3_DAREA');
$x_Hide('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Outdoor')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'PR')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Radio')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'TV')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'A')
{ $x_Show('P3_POSITION');
$x_Show('P3_POSITION_label');
$x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
html_ShowItemRow('P3_ISSUE_DT');
else if(ctry == 'Print')
$x_Show('P3_POSITION');
$x_Show('P3_POSITION_label');
$x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
html_ShowItemRow('P3_ISSUE_DT');
doSubmit('CREATE');
function showcase12()
var ctry = document.getElementById('P3_CHANNEL').value;
if(ctry == 'Affiliate') {
$x_Hide('P3_PUBLLICATION');
$x_Hide('P3_PUBLLICATION_label');
$x_Hide('P3_CIRCULATION');
$x_Hide('P3_CIRCULATION_label');
$x_Hide('P3_MEDIA_CPM');
$x_Hide('P3_MEDIA_CPM_label');
$x_Hide('P3_RATE_CARD');
$x_Hide('P3_RATE_CARD_label');
$x_Hide('P3_DISCOUNT');
$x_Hide('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Hide('P3_DAREA');
$x_Hide('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Direct Mail')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'E-Mail')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Event')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Other')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if((ctry == 'Online') || (ctry == 'PPC'))
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Hide('P3_DAREA');
$x_Hide('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Outdoor')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'PR')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Hide('P3_CTYPE');
$x_Hide('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Hide('P3_SIZE');
$x_Hide('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'Radio')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Hide('P3_CREATIVE');
$x_Hide('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'TV')
{ $x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Hide('P3_COLOR_TONE');
$x_Hide('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
$x_Hide('P3_POSITION');
$x_Hide('P3_POSITION_label');
html_HideItemRow('P3_ISSUE_DT');
else if(ctry == 'A')
{ $x_Show('P3_POSITION');
$x_Show('P3_POSITION_label');
$x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
html_ShowItemRow('P3_ISSUE_DT');
else if(ctry == 'Print')
$x_Show('P3_POSITION');
$x_Show('P3_POSITION_label');
$x_Show('P3_PUBLLICATION');
$x_Show('P3_PUBLLICATION_label');
$x_Show('P3_CIRCULATION');
$x_Show('P3_CIRCULATION_label');
$x_Show('P3_MEDIA_CPM');
$x_Show('P3_MEDIA_CPM_label');
$x_Show('P3_RATE_CARD');
$x_Show('P3_RATE_CARD_label');
$x_Show('P3_DISCOUNT');
$x_Show('P3_DISCOUNT_label');
$x_Show('P3_CTYPE');
$x_Show('P3_CTYPE_label');
$x_Show('P3_DAREA');
$x_Show('P3_DAREA_label');
$x_Show('P3_CREATIVE');
$x_Show('P3_CREATIVE_label');
$x_Show('P3_COLOR_TONE');
$x_Show('P3_COLOR_TONE_label');
$x_Show('P3_SIZE');
$x_Show('P3_SIZE_label');
html_ShowItemRow('P3_ISSUE_DT');
}This script i am calling on, onchange() for the select list item P3_CHANNEL and it is working fine.
But i have a create button and cancel button.
After filling the details in the required columns, when i click the create button, if any validation errors are there.. the page is re-rendered. while doing that the hidden items are getting displayed back.
Tried Solutions:
1. I created a same function once more and in the last added the doSubmit('CREATE') and called the script from the create button.
At that time the hidden fields labels are getting displayed.
2. I created a process On load before header To call this script on a condition :REQUEST = 'CREATE'
Then also fruitless..
I hope now it is clear....
Please! Any suggestion are mostly appreciated.
Thanks in advance
Kavitha L -
How to make a button show AND hide a field?
In an interactive form (with Adobe Acrobat X Pro), how can I purpose one button to:
1.) Show a field when clicked the first time
2.) Hide a field when clicked a second time
I seem to only be able to make a button do one or the other, but not both with the same button. Maybe an easier way to say this is I want to be able to have one button turn a field "on" and "off".
Any help would be GREATLY appreciated. Thanks!Use this code:
var f = this.getField("OtherFieldName");
if (f.display==display.visible) f.display = display.hidden;
else f.display=display.visible; -
Subject: Field label changed but it is not showing after getting transporte
KVGR3 Field Label is changed in Development box but if is not getting reflected in Test Server. CMOD transaction is used for changing the Field Label
In test server the new values are present in DD04T table but it is status N (edited but not activated)
In dev server the new values is present with A status.
Transport is also successful. In MODWRD table the new values and old values both are correctly present.
Please advice. I have not searched for SAP notes.Hi
i think u need to activate
1. in cmod
2. field label
and then transport.
Regards
Sajid -
Conditionally Hide/Display fields in a region
How can I conditionally hide/display fields in a region. Based on a user selection whether they want to 'Enter' or 'Select', I want to dispaly the appropriate field .i.e. if the user selects 'Enter' then I want to display a Text field and if they opt for 'Select', then I want to display a Select list.
Thanks in Advance.
Regards,
HilalHi Halil,
I've been trying to reproduce what the linked site does.
Here's my solution:
1 - Add all items to the page whether or not they are going to be displayed
2 - Ensure that all items that could be shown/hidden are on lines on their own (ie, set New Line to Yes)
3 - In the region's Region Footer (or in a new HTML region in the Before Footer position), add in this bit of javascript:
<script type="text/javascript">
html_HideItemRow('NameOfFieldToHide');
-- repeat for each item to be hidden when the page first loads
</script>
4 - On the radio button's definition, add the following in the HTML Form Element Attributes setting:
onclick="html_ToggleItemRow('NameOfDisplayedItem');html_ToggleItemRow('NameOfHiddenItem');"
Now when the page is loaded, one field is automatically hidden then clicking any of the radio button options will toggle the hidden/displayed fields and their labels.
As stated before, if you do a View Source on the linked application's page, you will see either more methods that are used to show/hide items/regions, but the above should be a starting point for you.
Regards
Andy
Maybe you are looking for
-
How can I quickly view pdf files like I can do with Windows Picture and Fax viewer for jpg files? I need to look at several thousand PDF files. It takes too long to open each one individually. The only thing I could think of is combining them into la
-
I am trying to delete the iCloud account on my iPhone that is associated with an old email address no longer in use, so I can set it up with my new email address. I am unable to delete the account until I turn off "Find my iPHone" which it won't le
-
Alpha channel and imaging lingo
I have a 32 bit image with an alpha channel. When placed on the stage only the black anti-aliased text shows and no background shows (using the copy ink) I'm scrolling this image with imaging lingo where I take a sliding portion of the original image
-
Will FireFox be updated to support Honeycomb?
Although Version 6 beta runs well, the resolution of pictures is of low quality on my Samsung Galaxy Tab 10.1.
-
the issue i'm having is that nearly everytime i plug in my charger to my macbook pro, it doesn't register that its charging until i take out the battery and let it start up, at which point i replace my battery back into the computer. this is only an