Adding style to a form
hopefully a simple question to answer this! I have created a simple form using the tutorial here
http://www.adobepress.com/articles/article.asp?p=1332862&seqNum=2
the form I need to style is small and basic with just a name, email address, phone number and text area, question is are there any tutorials online that show how to give the form a bit more of a tidier layout? Ideally with the left edges of the input boxes aligned and the text aligned to the right so it's almost against the boxes - much like it is here for example:
https://www.adobe.com/cfusion/membership/index.cfm?nl=1&nf=1&loc=en%5Fgb
any help or advice?
TIA
This may help:
STYLING FORMS
http://www.alistapart.com/articles/prettyaccessibleforms
and another;
http://www.sitepoint.com/article/style-web-forms-css/
Nadia
Adobe® Community Expert : Dreamweaver
Unique CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
http://csstemplates.com.au/
http://twitter.com/nadiap
Similar Messages
-
How to style a custom form that's been inserted as HTML into Muse
Apologies in advance if something similar already exists, and as a print-based designer I'm likely to use incorrect terminology.
I've created a basic website that requires a custom form. I've created this form using dreamweaver as it requires a dropdown and a check box. The unstyled html from DW I then insert into Muse via the 'Insert HTML' function, on a page called 'booking form'
To style it I did the following...
- Opened the form I created back in DW and added classes to the labels .formname, and added a class to some terms and conditions that sits somewhere in the form and called that .formsubtext
- Copied all of this code and inserted it back into Muse via Insert HTML
- The form shows up unstyled as expected
- I export the site as HTML
- Go into the exported folder into the CSS, and into the corresponding css file booking-form.css
- Added some custom CSS styling to reflect the font and colour I wanted to use
- Re-uploaded those edited files
- The result was that it rendered the class .formsubtext reflecting the terms and conditions as it should but not all the other labels
Would someone be able to tell me a better way to style a custom form or point out what I've done wrong.
Thanks!!!If you have structured your HTML markup for the form well using appropriate class and id names, then you can just add corresponding CSS using the <style> element in the "HTML for <head>" section in Page Properites > Metadata.
You may also choose to add all the CSS in a separate file and add reference to that in the HTML for <head> section and then upload the CSS file in appropriate location after publish.
Cheers,
Vikas -
I saved a PDF doc in adobe and then added text to the form. But every time I try an email it it only sends the original form without text. Once I've changed a doc in Adobe, how can I save it so that I'm able to use it with added text and notes? Also, I'm using a new iPad.
If you are using those apps or websites, they are likely viewing the PDF using iOS' built in PDF previewing, which will not show annotations and markup to the PDF. We have informed Apple of this issue, but do not have any insight into whether or when they will fix it.
Regarding the qustion about importing pictures, Adobe Reader does not provide any capabilities to import pictures into a PDF. To do this, you'll need to use Acrobat, available on your desktop computer. -
Error while adding user after customizing form in 11gR2
Hi Experts,
I have worked on customizing my User view form. I followed steps as:
Navigated to View user form--> clicked customize (top left) --> view --> source --> selected area --> clicked edit on popup box
I made certain changes on labels names and added certain UDF's.
Then without publishing that sandbox, i simply de-activated it and clicked on user link (identity console) to add a new user.
While clicking on submit new user i got error:
+<Oct 27, 2012 12:40:22 AM PDT> <Error> <oracle.iam.request.impl> <BEA-000000> <Validation failed with error message IAM-3050157:Unknown attribute for entity user. ObjectGUID:ObjectGUID>+
+<Oct 27, 2012 12:40:22 AM PDT> <Warning> <oracle.adf.controller.faces.lifecycle.Utils> <BEA-000000> <ADF: Adding the following JSF error message: IAM-3050157 : Unknown attribute for entity user. ObjectGUID+
oracle.iam.ui.platform.exception.OIMRuntimeException: IAM-3050157 : Unknown attribute for entity user. ObjectGUID
+ at oracle.iam.ui.platform.exception.OIMErrorHandler.reportServiceException(OIMErrorHandler.java:170)+
+ at oracle.iam.ui.platform.exception.OIMErrorHandler.reportException(OIMErrorHandler.java:65)+
+ at oracle.adf.model.binding.DCDataControl.reportException(DCDataControl.java:411)+
+ at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:416)+
+ at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:471)+
+ at oracle.adf.model.binding.DCControlBinding.reportException(DCControlBinding.java:201)+
+ at oracle.jbo.uicli.binding.JUCtrlActionBinding.reportException(JUCtrlActionBinding.java:2016)+
+ at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1660)+
+ at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)+
+ at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)+
+ at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)+
+ at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)+
+ at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)+
+ at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBinding(FacesUtils.java:165)+
+ at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBindingFromActionListener(FacesUtils.java:112)+
+ at oracle.iam.ui.catalog.view.backing.CartReqBean.submitActionListener(CartReqBean.java:833)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
+ at java.lang.reflect.Method.invoke(Method.java:597)+
+ at com.sun.el.parser.AstValue.invoke(AstValue.java:187)+
+ at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)+
+ at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)+
+ at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)+
+ at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)+
+ at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)+
+ at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)+
+ at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)+
+ at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)+
+ at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)+
+ at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)+
+ at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)+
+ at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)+
+ at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)+
+ at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)+
+ at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)+
+ at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)+
+ at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)+
+ at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)+
+ at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)+
+ at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)+
+ at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)+
+ at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)+
+ at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)+
+ at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.iam.ui.platform.servletfilter.IdentityContextFilter.doFilter(IdentityContextFilter.java:50)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.iam.platform.servletfilter.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:164)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:248)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.bpel.services.workflow.client.worklist.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:70)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)+
+ at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)+
+ at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)+
+ at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)+
+ at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)+
+ at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)+
+ at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)+
+ at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)+
+ at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)+
+ at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)+
+ at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)+
+ at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)+
+ at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)+
+ at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)+
+>+
+<Oct 27, 2012 12:40:22 AM PDT> <Warning> <oracle.adf.controller.faces.lifecycle.Utils> <BEA-000000> <ADF: Adding the following JSF error message: IAM-3050157 : Unknown attribute for entity user. ObjectGUID+
oracle.iam.ui.platform.exception.OIMRuntimeException: IAM-3050157 : Unknown attribute for entity user. ObjectGUID
+ at oracle.iam.ui.platform.exception.OIMErrorHandler.reportServiceException(OIMErrorHandler.java:170)+
+ at oracle.iam.ui.platform.exception.OIMErrorHandler.reportException(OIMErrorHandler.java:65)+
+ at oracle.adf.model.binding.DCDataControl.reportException(DCDataControl.java:411)+
+ at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:416)+
+ at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:471)+
+ at oracle.adf.model.binding.DCControlBinding.reportException(DCControlBinding.java:201)+
+ at oracle.jbo.uicli.binding.JUCtrlActionBinding.reportException(JUCtrlActionBinding.java:2016)+
+ at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1660)+
+ at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)+
+ at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)+
+ at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)+
+ at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)+
+ at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)+
+ at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBinding(FacesUtils.java:165)+
+ at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBindingFromActionListener(FacesUtils.java:112)+
+ at oracle.iam.ui.catalog.view.backing.CartReqBean.submitActionListener(CartReqBean.java:833)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
+ at java.lang.reflect.Method.invoke(Method.java:597)+
+ at com.sun.el.parser.AstValue.invoke(AstValue.java:187)+
+ at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)+
+ at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)+
+ at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)+
+ at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)+
+ at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)+
+ at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)+
+ at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)+
+ at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)+
+ at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)+
+ at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)+
+ at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)+
+ at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)+
+ at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)+
+ at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)+
+ at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)+
+ at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)+
+ at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)+
+ at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)+
+ at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)+
+ at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)+
+ at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)+
+ at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)+
+ at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)+
+ at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.iam.ui.platform.servletfilter.IdentityContextFilter.doFilter(IdentityContextFilter.java:50)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.iam.platform.servletfilter.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:164)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:248)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.bpel.services.workflow.client.worklist.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:70)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)+
+ at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)+
+ at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)+
+ at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)+
+ at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)+
+ at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)+
+ at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)+
+ at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)+
+ at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)+
+ at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)+
+ at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)+
+ at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)+
+ at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)+
+ at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)+
+ at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)+
+ at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)+
Has anybody faced this issue earlier? Please share your ideas..When you create a custom attribute (UDF) on an application instance form, it is created only in the backend, and is not available in the page for use on which you want it to be displayed. Try to display this field that is throwing error and regenerate your View.
You UDF using different steps:
login->identity url->users->go to create user->Include values for mandatory fields->click on customize->left(top)->View->Source->select area->edit->Click on 'Add Content' (on left top)->Data Component catalog->scroll down and select User VO->Refresh dialogue box->select the field and click 'Add'->on dropdown select 'ADF Input test w/label->close that window->Check if it added to create user form->save and close customization
I hope this helps,
THiago Leoncio. -
Hi, I'm trying to add some metadata to a pdf. I have the follow script in the form initialize event:
if (form1.desc.nodes.namedItem("metadata") == null) then
var oNode=xfa.form.createNode("text", "metadata")
form1.desc.nodes.append(oNode)
endif
I receive the error message:
Argument mismatch in property or function argument
I also tried this code:
if (form1.desc.nodes.namedItem("metadata") == null) then
var oNode=xfa.form.createNode("text", "metadata")
oNode.value = "Test Data"
form1.desc.nodes.append(oNode)
endif
Which gave me this error:
accessor "oNode.value" is unknown
It appears that the oNode object is not being created.
Any suggesting how I can add Metadata to the PDF?Hi,
This is the code I use to place metadata into the pdf file. If you open
the resulting pdf file using Notepad, the metadata is visible as readable
text in the file. I'm not sure the same approach can be used to add
metadata as viewed under Document Properties. We are not using it that
way. Maybe by changing the node name?
if ((EMAIL_SUBJECT1.rawValue != "")&&(EMAIL_SUBJECT1.rawValue != null))
var vDesc=xfa.template.data.desc;
var oNode1=xfa.template.createNode("text", "EMAIL_SUBJECT1");
vDesc.nodes.append(oNode1);
vDesc.nodes.namedItem("EMAIL_SUBJECT1").value=EMAIL_SUBJECT1.rawValue;
Andrew Zwickl | Worldwide Information Systems |
Eastman Kodak Company | 1669 Lake Ave | Rochester, NY 14652-4455 |
VOX: 585-477-1402
FAX: 585-588-4123
EMail: [email protected]
www.kodak.com
From:
SI_MSD7 <[email protected]>
To:
zwickl <[email protected]>
Date:
08/10/2012 06:18 PM
Subject:
Adding Metadata to PDF Form
Re: Adding Metadata to PDF Form
created by SI_MSD7 in LiveCycle Designer - View the full discussion
Bruce / Zwicki - or anyone who can assit...
How did you get this to work? I
I'm looking for a way to add/inject values (keywords) into the form's
meta-data by retrieving the info/values from user input.
To test the above solution, I added the following script to the initialize
event as referenced, but I'm not sure what is happening:
if (form1.desc.nodes.namedItem("metadata") == null)
var oNode=xfa.form.createNode("text", "metadata")
form1.desc.nodes.append(oNode)
1. Do I need a field on the page?
2. What part of the above script affects the meta-data?
Thanks!
Replies to this message go to everyone subscribed to this thread, not
directly to the person who posted the message. To post a reply, either
reply to this email or visit the message page: [
http://forums.adobe.com/message/4613534#4613534]
To unsubscribe from this thread, please visit the message page at [
http://forums.adobe.com/message/4613534#4613534]. In the Actions box on
the right, click the Stop Email Notifications link.
Start a new discussion in LiveCycle Designer by email or at Adobe Forums
For more information about maintaining your forum email notifications
please go to http://forums.adobe.com/message/2936746#2936746. -
The check marks in the check boxes I added to a Muse Form widget appear blurry.
The check marks in the check boxes I added to a Muse Form widget appear blurry. Is there somewhere that I can edit the resolution of these? Why would the default check marks be at the incorrect resolution? Could it be something I did when designing the form?
Thanks!The checkmarls are simple images. If you scale up the check mark or look at it in higher magnification, it of course appears blurry.
You may want to replace the check marks by graphics of your own (perhaps scaleable SVGs)
Select a check box, open the states panel and see the different states; change the graphics for the desired state by using the "Fill"-command in command strip on top of the application window. -
How to create the Paragraph styles in Smart Forms
Dear Techie's,
Please let me know, How to create the own Paragraph styles in Smart Forms i.e to make the line or a particular font in BOLD.
Please put the light ASAP.
Regards,
Maddu.hi
good
You can create additional fonts and style with transaction SMARTSTYLES
This can then be define in the paragraph and character formats, which you can then be assign to texts and fields in the Smart Form.
The character formats includes effects such as superscript, subscript, barcode and font attributes.
thanks
mrutyun^ -
Regarding catching the Ms-word styles in the form of HTML
HI,
I have created a program which is used for storing the data in a custom table. I have given to the user to edit the value available in the database with the help of ms-office. I need a help how to catch the styles like BOLD , italic, underline.... etc...can u plz give me a method or Class which is used to capture the user input values in the same style in the form of HTML.
Thanks and regards,
NareshThat would be a rather complex VBA macro or OLE2 calls if you use OLE2 to connect MS Word to SAP.
Why don't you use a simple SAP editor, like the one used to edit long texts? (EDIT_TEXT function module, see RSTXTCAT as a simple example program). There is bold, italic, etc., and you get data like the following (if you use B, I, U character formats for bold, italic, underline respectively):
<B>bold</> <I>italic</> <U>underline</>
You can convert them easily and cleanly into HTML using CONVERT_ITF_TO_HTML for example. -
I have set up a style on the BC module style sheet (on bottom of sheet) for my blog, the issue is specifically for the blog body text. Trying to get the text to display in white. When I update the style sheet and view the site in firefox and then inspect the body of the blog, the style I made is showing correctly IN firebug but the text is still black. It is not changing color. Here's my style code:
.post-body {
color: #fff;
font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
font-size: 16px;
line-height: 1.2;
word-wrap: break-word;
text-rendering: optimizelegibility;
All my other styles for heading, details, sidebar, etc are working as intended. Just can't get the body font color and size to change. Another wierd thing, when I change the font size px for the style it changes the line spacing NOT the font size. Any one have a clue what is going on here? Here's the custom styles I have added to the module style sheet:
/* My BC Template*/
.blog-container h1{
font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", "Arial Black", sans-serif;
font-size: x-large;
color: #F9D100;
.post-title H2{
font-family: Arial Black, sans-serif;
font-size: medium;
color: #F9D100;
.side-panel H4{
font-family: Arial Black, sans-serif;
font-size: medium;
color: #F9D100;
.post-body {
color: #fff;
font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
font-size: 16px;
line-height: 1.2;
word-wrap: break-word;
text-rendering: optimizelegibility;This answer from Support cured the problem...
Gaurav Sharma (Adobe Business Catalyst Support)
Feb 20 04:12 (EET)
Thank you for contacting us!
I just see your online shop purchase form, which contains update credit card fields,
http://screencastmb.worldsecuresystems.com/img/2013-02-20_1309.png
As per the field description, it's used fo rupdating CC details, not for purchases.
Remove that system field and reinsert the form, and it should then work
Kind Regards -
Adding filename in PDF form and inserting the filename as the subject when emailing the form
I have created a form in LiveCycle and have added 2 buttons - Save As and Submit by Email (created successfully thanks to the posts in this Forum). Can someone please advise how I can:
1. Add the file name to the PDF document when the Save As button is clicked.
2. Use the file name as the Subject when the user clicks the Submit by Email.
Thank you in advance for your help with this query.Here is a sample for your save as request.
http://thelivecycle.blogspot.com/2009/11/save-form-to-specific-directories-and.html
To determine the file name and use it in the subject you can use for example:
var FileName = event.target.documentFileName;
event.target.mailDoc({
bUI: false,
cTo: [email protected],
cSubject: FileName,
cMsg: "Bla bla bla...",
cSubmitAs: "PDF" -
Javabean is not working after adding webutil.olb in form 10g
I have created a form in which I am using javabean for running marquee and is working well. I have also attached webutil library in that form and it's working well also. But when I am adding webutil.olb in that form marquee stops to work. I have given path in Start In and in Preference/Runtime also. I have searched so many forums for that problem but did'nt get solution. That's why I decided to ask here....
Dear Gerd,
"are you sure, that it is the hotkey"
Yes, i am dead sure. Since:
(1) It was working fine in forms 6i
(2) If you run a form and select Help => Keys, you will see Ctrl+B on the top of list
The problem is its not taking into account the keys which i am defining in the file (although i am following the same procedure detailed on metalink.oracle.com).
Regards -
How can i upload the style of a form
I am having one form on my desktop.That form i already uploaded to my 800 client.But it can't show the general attributes.It shows in error : Style YBAA_SFSTYLE could not be assigned to the text node.How can I import style also for this form.
Hi Sowjanya
Please be aware that the smartform and smartstyles are to be downloaded separately to the system for future use/reference.
In your case; I believe the smartstyle has not been downloaded to your desktop or is not available to you for reuse.
Anyways, you need to upload both the smartform and smartstyle to the client to avoide the error.
Hope it helps.
Neer -
Paragraph styles applied to forms created in InDesign
Paragraph styles which I have applied to text fields of forms created in InDesign seem to work well in Acrobat Pro, except styles relating to bulleted and numbered lists. Is anyone else experiencing this problem? What is the solution, if any?
I believe that if you name the form field the same name on multiple pages they should fill with the same values.
However, I'm not a form expert. You would do well to ask these questions in the Acrobat Forms forum here:
Forms
While InDesign is being used to create the form, it doesn't really control the process. This is done in Acrobat so that's where you should ask your technical questions. -
Attachments added to the Interactive form is lost after submit
Hi All,
I have a scenario where the user can add attachments to the Interactive Form Online and click on Submit to archive the filled form. The problem is that i am not able to retrieve the attachments added to the form.
The datasource of the ITF is bound to the View Context node and the pdfsource is bound to an attribute of XSTRING type.
Here i am able to see the changed values of the Input fields in my context node. But, any attachments added is lost.
How can i retrieve the attachments? I tries calling the Methods SET_TASK_GETATTACHMENTS and GET_ATTACHMENTS of PDF Objects but it always returns null.
FYI,
if i use file upload UI Element and upload an existing form with attachments then i am able to get the list of attachments by calling the Methods SET_TASK_GETATTACHMENTS and GET_ATTACHMENTS of PDF Objects before this PDF is displayed in the next view. (binding the XSTRING of FIle Upload UI to the PDFSOURCE of the ITF).
Here also if i add some new attachments to the PDF and click on submit then these new docs are lost.
In short whenever i add attachments to the pdf dynamically via add attachment option after the PDF is displayed the new attachments are lost.
Please let me know how to correct this.
Thanks,
AbhishekThere is a default functionality provided by Adobe... If all your fields are field, you can not submit. It will prompt .. to fill the form.
Only you have to mark those field as mandatory.
So select the field -> Go to Object Pallet -> Value Tab -> select the type as User entered Required
This will solve your problem.
You can also customise the requirements through scripting language.
cheers
Satya -
How turn off auto field adding to "Reset a form"
Hi,
I "inherited" some form. Some fields have a "Reset a form" on it (resetting some specified fields in the form). Everytime I change a fieldname or create a new field, that field gets added to the "Reset a form" in all the fields with a "Reset a form" in the document!
This really bums me out, because It's costing me loads of work just to change all the settings back to normal.
Any way to turn this "feature" off?
Would be a great help!!I was hoping someone could point me to a setting I could change. Probably there isn't a setting. I'll have to consider it a bug then. I'll try and report the bug to Adobe (hope they're listening).
Maybe you are looking for
-
I have been having trouble using the mask option in speedgrade, any advice you can give will be helpful. I follow the tutorials to the T but get nowhere. I am able to make adjustments to the clip that affect the entire clip, but when using the mask f
-
Maximum number of responses using distributed forms?
What is the maximum number of responses allowed with distributed forms?
-
The difference between these two?
I wrote the following code for this task: private int firstDayOfJanuary(int year)// Calculates day of the week on which January 1 falls for given year. Returns 0 for //Sun., 1 for Mon., 2 for Tue., , 6 for Sat int firstDay = 1; wh
-
X server crashes randomly on ThinkPad X201i with GNOME2 as desktop env
Hi folks, I installed archlinux with gnome2 on my new X201i, which has intel graphic chip. But the gnome2 (i.e., the xorg server) randomly crashes, quitting to command line suddenly, with all my work lost! The sad thing is, I manually 'startx' after
-
My appleid is working fine on the web, and iPhone, but my MacBook Pro does not recognize the same password, and I cannot log into iCloud. I have deleted the iCloud account, and reentered a new one, and that has no effect.