Page hidden if a field is blank
Is there a code I can input that makes a page "hide" if a field is blank?
In Acrobat you make the hidden page a "template" and hide it. Then for your field you need to use either a validation script or on blur action to change the template from hidden to visible and if the field has its data deleted then you need to hide the template.
var cTemplate = "myTemplateName"; // name of template to hide/show
var t = this.getTemplate(cTemplate);
if ( t != null ) {
if event.value != "" t.hidden = true;
else t.hidden = false;
} else app.alert("Template " + cTemplate + " not found", 0, 0);
// end of non-null template name
Similar Messages
-
Dynamic Parameter Page - Hidden and Required fields
Post Author: robfurrball
CA Forum: .NET
Product: CR 10
Version: 10.0.0.5.1279
Operating System(s): XP
Database(s): SQL Server All, This is my first forum post, so please excuse any mistakes...I believe this is the right forum for the topic. I'm working on a page that will dynamically read the parameters in a CR report requested by a user and will build and display an input for each parameter (datepicker for date, drop down list for discrete values, etc.) I'm looking at how to define whether a parameter should be hidden (ex. username - populated by a session variable) or required (ex. Customer Name - would like to bold or put a special character next to the label/prompting text to show that it is required). The best that I've come up with would be to define a naming scheme like @_variable for hidden and @#variable for required. Is there another way that this could be done in case other groups want to use this page to load reports in the future, but may not have those naming schemes enforced? Thanks,Robput this tag in body of your jsp
<af:messages/>
-- in backBean
public void save()
if ((bindingCampo1 == null) || (bindingCampo1 .getValue() == null))
JSFUtils.addFacesMessage(" This field is required.", FacesMessage.SEVERITY_ERROR);
else if ((bindingCampo2 == null) || (bindingCampo2.getValue() == null))
JSFUtils.addFacesMessage("This field is required.", FacesMessage.SEVERITY_ERROR);
else
// with this line you call method save at your appModule and there you do a commit of you save operation
OperationBinding operation = bindings.getOperationBinding("save");
operation.execute();
if (operation.getErrors().isEmpty())
JSFUtils.addFacesMessage("Save sucefull.", FacesMessage.SEVERITY_INFO);
Message was edited by:
VictorHugoMuniz -
Hi, I'm Puthyrath. I have a problem on my iPad 4 wifi-3G about personal hotspot. I entered apn, username and password correctly, but when I leave this page, it didn't save, all fields become blank. Can anyone help me?
Update to above question:
Hello All,
To anyone with the same problem described above, on THEIR iPad (if it is running iOS 7.0.2):
Go to Settings; Mail, Contacts, Calendars; DELETE your *******@btinternet.com e-mail account, that you originally set up either using 'Other', or the 'BT' option which I am sure was in the list previous to the iOS 7 update.
Then ADD a NEW account choosing YAHOO from the list of options. DO NOT USE 'OTHER'.
Enter the correct details just as you (almost certainly) had already done in your previous attempts using 'other'.
When you see the 'verifying......' and 'the blue ticks' you should be able to exit settings and open your mail app and then receive all your 'old' e-mails again, AND be able to SEND as well.
All my 'old' e-mails, were NOT found in the 'old e-mail' folder though. THEY are still in my inbox.
So this fix worked for me.
After I deleted my account from 'OTHER' and put it in Yahoo, I like other people also ended up with more folders.
I hope this works for you on YOUR Apple devices.
Bob -
We have a publishing website in SharePoint 2010. There are total 4 environments - Development, Test, Stage and Production. For some enhancements, we had to create some new lists and libraries. When we moved changes from Development to Test environment, everything
worked fine. Relevant lists and libraries in lower environments were saved as templates (in .stp format) including content, imported to higher environment, lists/libraries were created in higher environment using imported templates.
Things worked fine from Development to Test. We did similar exercise from Test to Stage environment. Now in Stage, when we access some pages, we get error message - "One or more field types are not installed
properly. Go to the list settings page to delete these fields.". ULS logs don't tell which exact list has got problems.
On searching for this error, I got many articles that explain how this could happen when we migrate from SharePoint 2007 (MOSS) to 2010. Though our case different (as all our environments are in 2010), we still tried following steps.
De-activate 'SharePoint Server Publishing Infrastructure' Site Collection feature
Go to https://site-name/relationships%20list/allitems.aspx. This is a hidden list. Delete this list.
Re-activate 'SharePoint Server Publishing Infrastructure' Site Collection feature.
Make sure that new hidden list with one item is created at https://site-name/relationships%20list/allitems.aspx
However, this didn't help as we are still getting same error message. Appreciate if someone can suggest how this issue can be resolved.
Following are ULS logs:
Unable to execute query: Error 0x81020014
One or more field types are not installed properly. Go to the list settings page to delete these fields.
System.Runtime.InteropServices.COMException: One or more field types are not installed properly. Go to the list settings page to delete these fields.
at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback
pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
Thanks!Hi Shrishail ,
Some time this issue occurs if you have any custom filed types in the list or library and that field type is not installed on server .
Can you please check that if you are having any custom field types column on the list and library and if that is the case you need to install that field type on the server. sometimes it happens if field types are not properly deployed / Installed then
you have to uninstall that field types (retract solution) and deploy it again.
Thanks,
Ujjwal -
Is there a way of hiding the ? symbol if a record's image field is blank?
If that makes sense....
Basically I've set up a details page on a site that allows the site owner to display up to three images. However, sometimes they'll only upload one or two images.
Which currently looks like this :
http://www.travel7107.com/destinationDetails.php?destinationID=57
Is there some way to get rid of the little ? icons where the image field is empty?
I tried uploading a small white image, and setting the fields to blank.gif as the default, but the file upload script seems to overwrite those with an empty field if no image is selected to upload.
So at the moment I've given them that small image to use if they don't have images, but it would be good to know if there was a way of avoiding that step?Thanks for that. Not sure I'm getting the syntax quite right though.
The original lines look like this :
<img border="0" src="/destinationdetailpic.php?file=images/destinationpics/<?php echo $row_WADAdestinations["image_2"]; ?>">
So I thought it should be :
<img src="/destinationdetailpic.php?file=images/destinationpics/<?php echo $row_WADAdestinations["image_2"] = true ? $row_WADAdestinations["image_2"] : ''; ?>" alt="">
But that's not right :
http://www.travel7107.com/destinationDetails2.php?destinationID=57 -
I created some custom fields in the address book and want to get them merged into a Pages 09 document. When using the merge fields feature in Pages, only the standard fields are displayed. I am looking for a way to have the custom fields from the address book inserted into the document.
I believe you will find them if you go to table - unhide all columns. When you drag and drop card(s) into pages, it automatically shows default fields. The others are there but hidden. I hope this works for you!
-
Who's Who tab - Position field empty/blank in ESS
Dear Friends,
I am facing a problem in ESS->Employee Search -> Who's Who tab
The 'Position' field is 'Blank' on the Webpage when an employee is logged in. All other fields are displayed on the screen like First Name, Last Name, Organizational Unit, Cost Center, Job, Personnel Number, E-mail ID, etc.
Can anyone please suggest me, what should I need to fix this problem...
Appreciate early responses.......
Thanks,
Sai Narayana
SAP Functional ConsultantWe are getting the emty pages when we click on address/banks or any other links from ESS. Our portal is in 7.0 with ERP 6.0 with Business Pacakge 1.0.
I have checked the JCO connection, it is working fine and also setup system for webdynpro with alias SAP_WebDynpro_XSS.
I am not sure what we are missing here. Anyone helps would be really appreciated.
Thanks -
Is it normal that the DataSource field is blank when opening a master data
Is it normal that the DataSource field is blank when opening a master data which is also an InfoSouce in InfoSource page.
Just locate an InfoSource which is also a master data or data target where next to which is a green triangle picture icon in InfoSource page, open it, the top part (Commnication Structure) is automatically expended. Expend the lower part "Transfer_Structure/Transfer_Rules", find the DataSource field is blank. This only occurs for an InfoSource which is also a master data which have more than two data loads (e.g., one is attibute, and the other is text load) or there are two InfoPackage loads for this master data. We checked for master data with only one InfoPackage under it (e.g., only text load) and find it's OK that the datasource field is not blank when expending the lower section.
ThanksKevin
It's not common. If you have three Data Sources like attributes, texts and hierarchy by default attribute data source will appear on the screen and for the rest of the things we need to do dropdown and select. This is how in general it appears.
Thanks
Sat -
Staffing Percentage field is blank while performing Org.Reassignment-PCR
Hi,
We have Z PCR-Org.Reassignment which is copy of std Personal Change Request -SPPD.
In follow up function by HR Admin, on selecting perform personal action, in IT 0001 - Staffing Percentage field remians blank.
Is there any configuration or Switch needs to be activated?
or
Any Badi needs to be enhanced in PCRs...
Thanks
RamanathanThought it might help to give lines 369-relevant of the libgmail so it's easier to read
def _retrievePage(self, urlOrRequest):
if self.opener is None:
raise "Cannot find urlopener"
if not isinstance(urlOrRequest, urllib2.Request):
req = urllib2.Request(urlOrRequest)
else:
req = urlOrRequest
self._cookieJar.setCookies(req)
req.add_header('User-Agent',
'Mozilla/5.0 (Compatible; libgmail-python)')
try:
resp = self.opener.open(req)
except urllib2.HTTPError,info:
print info
return None
pageData = resp.read()
# Extract cookies here
self._cookieJar.extractCookies(resp.headers)
# TODO: Enable logging of page data for debugging purposes?
return pageData
def _parsePage(self, urlOrRequest):
Retrieve & then parse the requested page content.
items = _parsePage(self._retrievePage(urlOrRequest))
# Automatically cache some things like quota usage.
# TODO: Cache more?
# TODO: Expire cached values?
# TODO: Do this better.
try:
self._cachedQuotaInfo = items[D_QUOTA]
except KeyError:
pass
#pprint.pprint(items)
try:
self._cachedLabelNames = [category[CT_NAME] for category in items[D_CATEGORIES][0]]
except KeyError:
pass
return items
def _parseSearchResult(self, searchType, start = 0, **kwargs):
params = {U_SEARCH: searchType,
U_START: start,
U_VIEW: U_THREADLIST_VIEW,
params.update(kwargs)
return self._parsePage(_buildURL(**params)) -
How do you grey out a radio button if a text field is blank in Adobe Acrobat XI Pro?
How do you grey out a radio button if a text field is blank in Adobe Acrobat XI Pro?
So this what I'm trying to do:
( ) |TEXT FIELD|
( ) |TEXT FIELD|
( ) | |
( ) |TEXT FIELD|
I have a radio button: ( )
and a text field: |TEXT FIELD|
The third text field is blank, and I would like for the radio button next to it greyed out (user can't click on it) since the text field is blank. Is this possible to achieve? I'm assuming I'll have to use javascript, but what would the code be and would it be entered in the javascript editor for the text field or the radio button?
Thanks in advance guysHey, thanks, but it didn't work
I have the text fields as read only. Could that be why it's not working? Should I make the fields not read only?
Thanks, -
Hi Team,
I have created Administrator -approved Infopath form template to my site and activated same template in CA.
I have used this template in one of my Form library and i can able to submit the Form with success to the library.
when i click "View Item" or "Edit Item" of the form it throws , "One or more field types are not installed properly. Go to the list settings page to delete these fields." error message.
I have refered my log files also but there is no useful information in that, please find my logs for your reference.
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Logging Correlation Data
xmnv
Medium
Site=/sites/Prototypes
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Monitoring
b4ly
High
Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=8.51588679566816
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
General
8kh7
High
One or more field types are not installed properly. Go to the list settings page to delete these fields.
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
General
8sl1
High
DelegateControl: Exception thrown while adding control 'ASP._controltemplates_publishingconsole_ascx': One or more field types are not installed properly. Go to the list settings page to delete these fields.
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
General
8kh7
High
One or more field types are not installed properly. Go to the list settings page to delete these fields.
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Runtime
tkau
Unexpected
System.Runtime.InteropServices.COMException: One or more field types are not installed properly. Go to the list settings page to delete these fields.
at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEA...
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Runtime
tkau
Unexpected
...RRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
w3wp.exe (0x2D7C)
0x3790
SharePoint Foundation
Monitoring
b4ly
Medium
Leaving Monitored Scope (Request (GET:http://test-sharepoint:80/sites/Prototypes/TRT/TRTLibrary/Forms/EditForm.aspx?ID=47&Source=http%3A%2F%2Ftest%2Dsharepoint%2Fsites%2FPrototypes%2FTRT%2FTRTLibrary%2FForms%2FAllItems%2Easpx&RootFolder=%2Fsites%2FPrototypes%2FTRT%2FTRTLibrary&ContentTypeId=0x01010100E7EE25E5A6898C4587A6B52C808EF03300FD54861D587A7E43BA3E2E6D392A3526&IsDlg=1)).
Execution Time=32.443369199158
w3wp.exe (0x08E4)
0x2C58
Access Services
Data Layer
8jg2
Medium
ResourceManager.PerformCleanup: Disk Manager: CurrentSize=0.
w3wp.exe (0x08E4)
0x2C58
Access Services
Data Layer
5pbr
Medium
ResourceManager.EvictUnusedItems: Disk Manager: Going to evict unused items. CurrentSize: 0.
w3wp.exe (0x08E4)
0x2C58
Access Services
Data Layer
5pbs
Medium
ResourceManager.EvictUnusedItems: Disk Manager: After unused items eviction. CurrentSize: 0
Diff:0.
w3wp.exe (0x2D7C)
0x0774
SharePoint Foundation
Topology
e5mc
Medium
WcfSendRequest: RemoteAddress: 'http://test-sharepoint:32843/4ac2daef5ffe4850be08bd7bbebb5ac2/MetadataWebService.svc' Channel: 'Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges'
MessageId: 'urn:uuid:dcba94c3-2764-428c-b44f-60e703328ceb'
w3wp.exe (0x08E4)
0x2E24
SharePoint Foundation
Topology
e5mb
Medium
WcfReceiveRequest: LocalAddress: 'http://test-sharepoint.anca.com.au:32843/4ac2daef5ffe4850be08bd7bbebb5ac2/MetadataWebService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges'
MessageId: 'urn:uuid:dcba94c3-2764-428c-b44f-60e703328ceb'
JeevaHello,
Is there any other content type on library or check if there is any duplicate column? Could you please also show us your library columns detail? (pic is also fine of lib settings page)
If you have any ""Property Promotion" column then SP create those columns as site column and associate them with this template so check "Allow management of content types" for that form library as well.
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Hi ,
I am working in sharepoint 2013, This is a custom timer timer Execute method where i am moving a document item from one library to other once its expired,it was running fine and suddenly giving following error:-
One or more field types are not installed properly. Go to the list settings page to delete these fields.<nativehr>0x81020014</nativehr><nativestack></nativestack>
StackTrace = " at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)\r\n at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName,
String bstrViewName, String bstrView...
I have filled all the meta data(site column) for the item but still same error, Please help me out as i have no clue why it is giving this error
public override void Execute(Guid targetInstanceId)
SPSecurity.RunWithElevatedPrivileges(delegate()
using (SPSite site = new SPSite(sourceUrl))
using (SPWeb web = site.OpenWeb())
//gets the document lib
SPList listFrom = web.Lists[sourceList];
//gets the expired documents items
SPQuery query = new SPQuery();
query.ViewFields = "<FieldRef Name='Expiration_x0020_Date'/>";
query.Query = @"<Where><Leq><FieldRef Name='Expiration_x0020_Date'/><Value Type='DateTime' ><Today /></Value></Leq></Where>";
SPListItemCollection items = listFrom.GetItems(query);
//if expired items found
if (items.Count > 0)
SPFile oFile = null;
foreach (SPListItem item in items)
string strfile = item.File.Name;
oFile = web.GetFile(sourceList + "/" + strfile);
//oFile.CopyTo("Archive/" + strfile);
oFile.MoveTo(destinationList + "/" + strfile);Hi,
I think the issue is related to the internal name of the Expiration Day.
In the caml query code lines, we should use the right internal field name to retrieve and filter the list items.
To avoid such mistake, we can use the CAML Designer tool to generate the caml query code.
We can download the tool here: http://www.camldesigner.com/?p=594
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
ODS Key Fields allows blank values in Transformation
Dear Experts,
I have two layers:
1. Datawarehouse layer (purpose is to represent exactly data at the backend)
2. Consolidation Layer
Scenario 1:
In Datawarehouse layer, the fiscal variant is a key field in ODS and I have two other key fields i.e. combine to form a composite key.
When I load the data from PSA to this ODS, I have a record which contains blank value for the fiscal variant. It successfully loads into the Datawarehouse ODS.
Sceanrio 2:
In the consolidation layer, i have 4 key fields out of which fiscal variant is one of them. Now when I load the data from the datawarehouse ods to consolidated ods, it throws an error saying:
Diagnosis
An exception fiscvarnt_missing was raised while executin
module RST_TOBJ_TO_DERIVED_TOBJ .
System Response
Processing the corresponding record has been terminated.
The transformation mapping for the fiscal varaint in both sceanarios is 1:1 mapping with the rule type 'Time Characteristic'.
My questions is:
1. Why different behaviour during scenario 1 and sceanario 2
2. Solution to the above issue
Thanks
JainThanks J.S.
Yes the format selected in the field for the datasource is 'Internal'.
When loading the data from R3>PSA>ODSX(Datawarehouse Layer), I have no problems even when the field is blank.
When loading from ODSX-->ODSY(Consolidated Layer) the empty (blank) field for that records throws error.
Any ideas?
Jain -
APEX 4.2. - SkillBuilders Modal Page plugin not sizing fields or labels
I recently migrated from 4.1 to 4.2, bringing over the Skillbuilders plugin 2.0.0. My page has a Popup template. When I open the page as a Skillbuilders Modal Page, all of the fields have the same width, ignoring the width I've given it with the label above the field, even though I said the label should be aligned left horizontally. If I run the page as itself (not called as a Skillbuilders popup), it properly spaces the fields and the labels are aligned to the left. Can someone help me fix this issue?
Thank you!Johnny98,
Yes, the plug-in has been known to have issues with the responsive theme. I recommend either changing your theme or avoiding the plug-in for now.
I may be able to address this in the future, but I wouldn't bank on it.
Regards,
Dan
blog: http://DanielMcghan.us/
work: http://SkillBuilders.com/APEX/ -
How to create a field in an OAF page which sums two fields in the same page.
Hi,
In the HRMS appraisal page, I have two fields in different regions.
1. One field shows the total score of the competencies.
2. Another field shows the total scores of the objectives.
The problem with the appraisal total score is it returns only the rating level id. (It does not take decimal values)
Hence I want to add the above two fields which is displayed in the same page and show as a new field in the top of the page as the final appraisal score.
[Something similar to what is mentioned in the metalink document 1315431.1 ]
We are in 11.5.10.2.
I am new to OAF and have no idea as to how to achieve the above step. Can anyone guide me in doing it?
regardsHi,
Went through the steps to do a VO substitution.
But normally in all the examples given the page will belong to the application where we are modifying.
Eg. in this case the "about this page" shows /oracle/apps/fnd/wf/worklist/webui/NotifDetailsPG
This is coming under fnd top where all the appraisal VOs and other pages comes under PER_TOP.
Should I bring all the files from FND_TOP of the server to my PC where jdev is installed.
I have already taken all the files under $PER_TOP to my PC.
regards
Maybe you are looking for
-
How to show error message in a report program
Hello Guys, I am making a report using smartforms. I am successful in showing data but problem is if if i put a value in parameters that does not exist is database, the smartform runs and related fields shows as empty fields. But the form is running
-
ERROR MESSAGE KEEPS POPING UP " ADOBE FLASH PLAYER 11.8 R800 HAS STOPPED WORKING"
MESSG KEEPS POPPING UP EVERY FEW SECONDS, I HAVE UNINSTALLED FLASH AND REINSTALLED IT FROM ADOBE'S WEB SITE BUT IT STILL KEEPS POPPIN UP. WHAT HAVE I DONE WRONG?
-
How can I export a document in IDML using VBScript
How can I export an InDesign document in an IDML format using a VBScript ? If my InDesign Server instance is running, is it possible to run this script programatically (without using InDesign panel manually) ? Thank you.
-
Error msg in flat file preview
Hi, I am trying to load the data through flat file, for 0calmonth column I gave the values in the format year/month and month/year, but when I am trying to view the preview it is diplaying the following error CONVERSION_EXIT_PERI6_INPUT. which format
-
Do tunnels retain historic or live data?
Hi All, A rather strange bit of LabVIEW black magic as far as i can see.............. In the attached picture the bits of interest are highlighted with red circles. The VI is for streaming data from a Picoscope (see http://downloads.picotech.com/driv