Formatting form elements

I am working in DW CS3.
I want to format my form elements - so have added this to my
page:
<style type="text/css">
<!--
INPUT, TEXTAREA, SELECT, OPTION {
font-family: Georgia, "MS Serif", "New York", serif;
padding: 2px;
color: #000080;
background-color: #E0FFFF;
border: inset 1px #708090;
</style>
It works fine. But then I add a layer (in design view) - and
it stops working.
Can anyone figure out what's going on?
Thanks,
- Greg

Nope. Adding a layer would not be expected to have any effect
on this.
By the way -
http://www.456bereastreet.com/archive/200701/styling_form_controls_with_css_revisited/
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"GregInFrance" <[email protected]> wrote in
message
news:fb6gal$qsu$[email protected]..
>I am working in DW CS3.
>
> I want to format my form elements - so have added this
to my page:
>
> <style type="text/css">
> <!--
> INPUT, TEXTAREA, SELECT, OPTION {
> font-family: Georgia, "MS Serif", "New York", serif;
> padding: 2px;
>
> color: #000080;
> background-color: #E0FFFF;
> border: inset 1px #708090;
> }
> </style>
>
> It works fine. But then I add a layer (in design view) -
and it stops
> working.
>
> Can anyone figure out what's going on?
>
> Thanks,
>
> - Greg
>

Similar Messages

  • How to show long text in TextView control in formatted form?

    Hi,
    I have requirement to show long text from backend text edit control to WD application. I am using READ_TEXT Fm to read the long text and passing it to text view UI element.
    The text is shown in simply one long line but I want it to show in the same format as stored in backend textedit control.
    If I take textedit UI control then it shows the text in formatted form.
    Could you please let me know how to achieve these for TextView control? My requirement is that I have to use only TextView control.
    Thanks,
    Chandra

    Hi,
    The Problem solved to some extend but still the exact formatting is not happening though i am using cl_abap_char_utilities=>newline.
    for eg. if the long text is as below.
    "To display the external component, you can now embed an interface view of any window of this component in a window of your current embedding a view of oneu2019s own component. By setting up navigation from one outbound plug of a view of your inbound plug of the inter external component, you enable the external component to be displayed. New line ."
    and if in backend the Last line " New line ." is on next line, on WD it is not displayed on next line.
    Thanks,
    Chandra

  • Hiding toolbars in Interactive form element thru code

    Hi all,
    I am using interactive form element to embed a purely readonly pdf (but content is dynamic) since Iframes is deprecated (any other way?).
    I wish to hide the toolbars, options of thumbnails etc. I added the code below to my view controller. However, it does not seem to work. All the toolbars are still showing. Did i do something wrong?
    IWDPDFDocumentInteractiveFormHandler iFormHandler =
    WDPDFDocumentFactory.getDocumentHandler(wdThis.wdGetAPI(),
    "InteractiveForm");
    IWDPDFDocumentAppearance appearance =
    iFormHandler.getDocumentContext().getAppearance();
    appearance.hideMenuBar(true);
    appearance.hideToolBars(true);
    appearance.hideWindowControl(true);
    Also, the formating (fonts etc) of the pdf in the portal seems to be different from that seen in R/3 form.
    Anyone?

    Hi,
    As the error suggests that you do not have any certificate configured in your key store which is required to authenticate the client to the ADS. You would require to install a client certificate on your Web Dynpro/Portal server that will be used to authenticate the Web Service call to ADS.
    But the question is whether you need "Https" for a server to server communication (from your portal server to ADS server) ? Normally, these two servers reside in the LAN. And i suppose you are not using any of the secured functionalities of interactive form (for example, digital signature, certification etc.). I assume that you need "https" call from browser to the portal server and then from portal server to the ADS should be on http. Please confirm on that. If that is the case, then you can follow the section below to change the "protocolSchemeForADSCall" to "http" always. This is what you would need to do in the Visual Administrator where your portal/web dynpro is installed:
    In Visual Administrator. Go to ->
    Server -> Services -> Configuration Adapter -> webdynpro -> sap.com ->
    tcwddispwda -> Propertysheet default
    Then goto property sap.protocolSchemeForADSCall
    This property is available after you apply SAP note 849730.
    Possible values are:
    - request: same protocal scheme than the request to Web Dynpro has
    - https: always use https
    - http: always use http
    SET the value as http. This will ensure that web Dynpro to ADS communication always happens on http, rather than on https.
    Should you need to install SSL based communication between the two, you would need to follow the note:
    838111 > How to configure SSL for Adobe Document Services
    Best Regards,
    Krish

  • Fetching timestamp to datepicker form element

    With the page creation wizard i create a "Form on a Table" or "Form on a Table with Report" and i have problems with timestamp columns of the table: no form element gets created for them. I add manually a Date Picker element, and it works fine for writing on DB (both editing a row or creating a new one); but it doesn't work for fetching, the Date Picker is initially blank when i edit an existing row.
    The Source of the element is defined as:
    Source Used = Always
    Source Type = DB column
    Maintain session state = per session
    Source value or expression = (name of column)
    Post Calculation Computation = blank
    Format Mask = same as Date Picker, also tried blank
    Thanks for any help

    Hello,
    >> The Automatic DML process doesn't work anyway for reading timestamps, so it's not a problem.
    Let’s use the proper terms, so we will not get confused. Automatic Row Processing or Automatic DML refers to after submit processes, while Automated Row Fetch (ARF) refers to the pre-rendering phase. As far as I understand, your problem is with the ARF process, which can’t fetch timestamp. From your first post it seems that the Automatic DML process do write your timestamp into the database table. However, this will only work for items with source type of “Database column”.
    >> I already tried Post Calculation Computation too, but even if the computation generates no error, the element is not changed.
    Did you change the “Source Used” of the item to “Only …”
    >> I think it is always overridden by NLS_DATE_FORMAT, i haven't tried changing it cause i don't have an admin password right now.
    At least for the later versions this is not true. The “Post Calculation Computation” has the final saying about the content (and format) of the field, provided that the “Source Used” of the item is set to “Only …” .
    >> Are you sure Automatic DML process is fully supported for timestamps?
    Yes, I’m pretty sure. As I said, timestamp support was introduced in version 2.2, so it’s not surprising that it’s not being mentioned in the what’s new of version 3.1. Anyway, don’t take my word for it. You can test it yourself on apex.oracle.com (which runs 3.1.2).
    Regards,
    Arie.

  • Flash Format Forms No Workie

    I'm able to test a simple CFForm with Flash format on my
    personal web account and it works great. However, in the same MX 7
    environment the form won't generate. It will generate a Flash
    plugin component, but no form elements.
    I suspect that there is some possible configuration change I
    need to make on the server side for Flash formatted forms to
    appear? CFIDE directory permissions? Enable some service?
    eg, this one works:
    http://www.somareview.com/testme.cfm
    eg, this one with the same code does not work:
    http://www.clarku.edu/temp/flashform.cfm
    Thanks for any suggestions,
    Chuck

    Dear Chuck,
    I guess you have fixed the problem. Both sites work well to
    me.
    Keiko

  • URL in Formatted Text element

    I am using URL hyperlinks in a Formatted Text element. But, in runtime configurator, they open in the parent window although I have included the target=_blank directive in the a href element. I want to open them in a separate window. How can I achieve this? Text link element can achive this, but I will have to create many Formatted Text and Text Link elements for a single text display and this will affect the alignment as well. Any advice appreciated. Thanks.

    Thanks Guys.
    I am trying to create a declaration text like the below.
    "I understand that this application does not in itself constitute any form of approval for any service and does not place us under any obligation to grant such an approval.
    <br>
    <br>
    I understand and agree that the information submitted through this application form, shall, upon payment of all fees, and issuance of a receipted invoice by us, constitute part of our standard terms and conditions for the relevant service type as follows: <a href=http://www.website.com/terms target="_blank">Terms</a>
    <br>
    <br>
    I certify that all of the information submitted in the application form above is correct, that I am over 18 years old and able to enter into a legal contract in the service.
    <br>
    <br>
    I also confirm that I have read and agree to <a href=http://www.website.com/Terms-and-Conditions/ target="_blank">Privacy Policy</a>"
    I created the above as a formatted link with a style associated since this section needs to be of specific style.
    I tried to create a Raw text element, but it is not available inside a cell format (which is where the above formatted text element is currently placed).
    If I have to include the links as Text link element, it will be a cumbersome process to create many FT and TL elements and format them properly.
    Any ideas appreciated. Thanks.

  • Column value substitution in tabular form element attributes

    We started to discuss this at Re: Tabular form with Ajax
    I also mentioned this at Re: how to make only some rows editable in html db.
    but thought that this deserves its own thread.
    In Doug's sample Sudoku application in that thread, he uses #COLUMN# substitution in the Form Element Attributes and it works fine, but in my example page at http://htmldb.oracle.com/pls/otn/f?p=24317:219 I used the same technique and no matter what I do, the #COLUMN# substitution is not expanded by the Apex engine.
    This is driving me nuts, any ideas why it works in one application but not in another?
    Thanks

    Hm, you might be right.
    I copied your row template and modified it at http://htmldb.oracle.com/pls/otn/f?p=24317:219
    The styling looks terrible, not sure why, the template is simply
    <tr>
    <td class="t10data">#EMPNO_DISPLAY#</td>
    <td class="t10data">#ENAME#</td>
    <td class="t10data">#JOB#</td>
    <td class="t10data">#MGR#</td>
    <td class="t10data">#HIREDATE#</td>
    <td class="t10data">#SAL#</td>
    <td class="t10data">#COMM#</td>
    <td class="t10data">#DEPTNO#</td>
    </tr>I had a lot of trouble getting this to work because the wizard generated tabular form appends 2 hidden fields containing the PK and the row-checksum to the last (editable?) field on each row. If the last editable field has #COL# substitution, it expands the substitution and forgets to close the INPUT tag thus causing malformed HTML (I think this is a bug in the rendering engine).
    The readonly condition is sal>1000 which now works. The SAL>1000 fields are now readonly.
    But now the update process is broken. If I enter a number in the first blank SAL field (empno=3641) and click Submit, I get no errors but the change is not saved. Wonder why.
    Hopefully, Scott (Spadafore) will take mercy on our amateurish experiments and give us some definitive answers soon!
    Thanks.

  • Passing Session Values to the Tabular Form Element of a Report Column

    Hello,
    I'm running application express version 2.0 with a 10.2.0.2.0 database on a 32 bit windows box. I'm trying to figure out sneaky a way to pass the &APP_PAGE_ID., #APP_PAGE_ID# or V('APP_PAGE_ID'); as an element attribute of a Report Tabular Form Element set to display as a Select List (named LOV).
    It seems that whatever option I choose, the Element Attributes field will only render the literal value of what I have entered. This is part of the solution but I would like to find a way to pass the current page id.
    What I'm trying to do is utilize the ONCHANGE attribute to redirect to a report page in my application when the value from a Select List (named LOV) is selected.
    I could work around this by creating my own table output with PL/SQL and HTP.P commands but would really be interested in finding out if I can use the reporting structures which are already available through Application Express.
    Any ideas?
    Thanks.
    Justin.

    Thanks for the response Earl. To clarify this is what I've done and what I hope to achieve:
    I currently have a LOV for my application that identifies a number of database report types: DB Options, DB Parameters, DB Version, and so on.
    I have an application express report being generated for the databases I'm monitoring and it displays as follows:
    - HOST -- DBTYPE -------- DBNAME - DBREPORTS
    =====================================
    - SVR 1 - Oracle 9.2.0.1 - DEV -------- [LOV HERE]
    - SVR 2 - Oracle 9.2.0.7 - TST --------- [LOV HERE]
    I am displaying the LOV on my report the the options under the reports attribute tab in my application builder. I insert my LOV select list by editing the DBREPORTS column and set the "Display As:" option under Tabular Form Element to "Select List (named LOV)"; I have also added my LOV to the "Named LOV" option under List of Values.
    So far this achieves everything I would expect and works quite well (a select list with my report types appears in my monitor report for each DB that is returned).
    What I'm interested in doing now is opening a DBREPORT for a given database by simply choosing the report type from my LOV. I can set the "Element Attributes" option under Tabular Form Element to execute a javascript call for any valid event (in my case I'm using ONCHANGE).
    My only issue is that I cannot find a way to pass any session values from my page to my Element Attribute. If, in the Element Attributes field I enter:
    onchange="alert(this.value);" //my dialogue box will display the value of my current selection when I choose a report type.
    What I'd love to be able to do is something like:
    onchange="alert('&APP_PAGE_ID.');" //so my current page id is written to the element.
    Unfortunately, only my literal text seems to be rendered. Rather than having my dialogue come back with my page number, say 75, I receive the literal value &APP_PAGE_ID.
    Notwithstanding any quote issues, I've tried to dump a test html attribute to my source html by entering any of the following in the Element Attributes field:
    test=&APP_PAGE_ID.
    test=#APP_PAGE_ID#
    and as a shot in the dark knowing that I'm not using PL/SQL:
    test=V('APP_PAGE_ID');
    In every case when I view source I see the literal value of what was entered in the Element Attributes field (ie "test=&APP_PAGE_ID." instead of "test=75").
    What makes things a little more frustrating is that I can drop &APP_PAGE_ID. into the Column Heading field (ex My Heading &APP_PAGE_ID.), it renders as I would expect; "My Heading 75". If we could find a solution to this, I could see a number of slick uses for this type of functionality.
    Hope this helps,
    Thanks.
    Justin.

  • Form element id changed after upgrading from APEX 3.2.1 to 4.0.2

    Hi,
    We are in the process of testing an upgrade of our APEX 3.2.1 app to 4.0.2. The production database was exported, imported as a new database, and then upgraded to 4.0.2. I've noticed that on pages where we have coded our own PL/SQL process in place of the built-in MRU, the form element id (referenced using g_fxx) has changed. For example, in our existing production system, the id for the first row of data is f06_0001, but when we look at the same page in APEX 4.0 environment, the element id has changed to f08_0001. Is this a known issue when performing an upgrade? Has anyone else experienced this?

    Hi,
    I have seen this problem.
    I assume that Apex 4 do not give fxx name to items anymore in order where columns are in query.
    This is one of reasons why we have not been yet able to upgrade.
    And it seems this same problem exists in Apex 4.1 on apex.oracle.com
    Regards,
    Jari

  • How can I move my elements 9 files in windows format to elements 11 in Mac format?

    How can I move my windows 9 files in windows format to elements 11 in Mac format?

    I guess this is what I want to do.  I have jillions of photos that were transferred in a Windows version of photoshop (many different versions) plus some that were transferred from my iPhone and also in Nikon Transfer (before I started using Photoshop).  Then I got the brilliant idea that I wanted to start using Mac for all of my photo projects and I'm dead in the water right now because I can't figure out how to move all of these Windows based filed to the new Mac - especial since the I have a current mac version of Photoshop and the Windows version that I have is older.  I totally do not understand what a tly file is.

  • How to track changes made in a jsf form element.

    I am in a page and editing some form elements. I click on some other link which will take me to another page. Before moving to another page I want to check if there are some unsaved data in the page. If some form elements are edited, I want to throw a confirmation alert, if the user wants to move to the other page without saving the edited data.
    This can be accomplished by having a hidden flag which will keep a track. On change of any element, a javascript function will be called to set the hidden flag. So before going to any page we can check the flag and throw an alert.
    But this process will be needing much coding effort. Is there a way in JSF to track the change in a form by backing bean or some other process?

    JSF offers a serverside ValueChangeEvent for that. Every UIInput component supports a 'valueChangeListener' attribute (and a f:valueChangeListener facet) which can point to a method in the backing bean which takes a ValueChangeEvent parameter. This will only be invoked if the new value differs from the old value. This costs one trip to the server though.
    E.g.<h:inputText value="#{myBean.value}" valueChangeEvent="#{myBean.valueChanged}" />MyBeanpublic void valueChanged(ValueChangeEvent event) {
        Object oldValue = event.getOldValue();
        Object newValue = event.getNewValue();
        // Do your thing.
    }ValueChangeEvents are invoked in the 3rd phase of the JSF lifecycle, after validation/conversion and before update model values. Also see http://balusc.blogspot.com/2006/09/debug-jsf-lifecycle.html

  • When submitting form, form elements like text box are not available in my action page. This occurs only for several times. if i resubmit the form, i can get the form elements in my action page. May be form get submitted twice in firefox 3.6.13

    I have a simple web page with two form elements say, two text box and submit button. when submitting my form, i didn't get the form data in my action page. This occurs only in Firefox 3.6.13 several times. Not always.
    May be form get submitted twice?
    Note: Remember, i am not facing this issue. However my friend is facing this issue.

    I have a simple web page with two form elements say, two text box and submit button. when submitting my form, i didn't get the form data in my action page. This occurs only in Firefox 3.6.13 several times. Not always.
    May be form get submitted twice?
    Note: Remember, i am not facing this issue. However my friend is facing this issue.

  • Create form elements directly in InDesign and publish them directly to PDF forms.

    It would be great to add form elements directly in InDesign (e.g. on a specific layer) and when publishing the document to PDF automatically exporting them.
    Now the work flow for adding one new field in am existing PDF form is quite complicated:
    Edit the InDesign document (layout and text) in InDesing -> publish the PDF out of InDesign -> add the existing form fields (copy from existing form into new) -> move the fields to the right place (acrobat does not support paste in place!) -> add the new field (name it, place it, etc.) -> save the PDF.
    For our company handling many different forms, with a lot of changes, this process is very error-prone.
    Enabling this process in one application would help a lot. We are currently using CS3. The feature overview of CS4 does not seem to implement this.
    Anyone else suffering here?
    Best regards,
    Michael

    Just incase you don't Adobe make a Windows only app Lifecycle which is a full blown form design app. Real layout tools, real calculation tools, vastly better than Acrobat which is too tedious for forms. If you company does lots of forms I'ld give it a look.
    They have no intention to bring to Mac I gather, as Mac is a designers only domain according to one Adobe Evangelist I spoke to.

  • Very urgent: How to append the form elements to the Querytext

    Hi All,
    Could anyone please guide me thru of how we can pass the Querytext in the serach results page in content server 10gR3. As far as I knew we
    pass thru in submitfrm() function in the resource include query_submit_form_function.
    Am actually trying to customize the search page and search results page and we have several onclick events in the search page.
    When we click on the radio button or checkbox. we were able to see the metadata fields in the dropdownlist and I will select the field name
    matches some value....How we can append the selected values to the QueryText. How can the Querytext build based on the selection of form
    elements.
    Please give me some idea...your help is very much appreciated. Let me know if you have any questions....
    Thanks,
    isha.

    Hey,
    Thanks for the response. I also got the same thought after going through in depth of Search related resource includes...
    I'm not sure of how to do this. Which includes I need to modify. And where exactly I have to write this Onclick event. And where exactly I have to pass this hidden parameters...I knew that we do have to add in Searchform form. However do we need to add the hidden parameters to the standard resource include.
    As far as I knew, submitfrm() is the function which holds of Searchform values and also query_form_init script.
    Could you please guide me through the steps. Which resource incliudes I have to modify/override..
    Thanks a lot for your help.

  • How to set a form element value using javascript?

    Hello,
    I have been using the following two functions in AS 9.0.2 to set form values in javascript and it works correctly. However, the same code does not work in AS 10.1.2.0.2. Would appreciate if someone could let me know how to set form elements using Javascript(onchange of a field).
    function set_item_value(p_field_name, p_value)
    var v_index, v_full_name;
    for(v_index=0; v_index<document.forms[0].length; v_index++)
    v_full_name = document.forms[0].elements[v_index].name.split
    if (v_full_name[2] == p_field_name)
    document.forms[0].elements[v_index].value = p_value;
    function get_item_value(p_field_name)
    var v_index, v_full_name, v_return="";
    for(v_index=0; v_index<document.forms[0].length; v_index++)
    v_full_name = document.forms[0].elements[v_index].name.split
    if(v_full_name[2] == p_field_name)
    if(document.forms[0].elements[v_index].type != "radio")
    v_return = document.forms[0].elements[v_index].value;
    else
    if(document.forms[0].elements[v_index].checked)
    v_return = document.forms[0].elements[v_index].value;
    if(v_return == " ")
    v_return = "";
    return v_return;
    Thanks
    Dev

    This is not the best way to write JavaScript in Portal environment!
    You can't be sure that a form is the first in the html source!
    In Portal you change the order of your portlets, and also you can have several instances of the same portlet on the same page!!!
    You should use qualified form and field names!
    Please check the following JPDK methods:
    UrlUtils.htmlFormName
    HttpPortletRendererUtil.portletParameter

Maybe you are looking for

  • Unable to open form in MS Word

    I am unable to open a planning form in MS Word. Same form opens fine in Excel. This issue occurs on multiple machines. I am recieving error message "Member not found" Anyone run accross this before?? Thanks

  • Pavilion dv6 - loud beeping sound when starting +sound problem

    i just bought an hp pavilion dv6 notebook LR732PA and every time i turn it on there's a loud beeping sound, and i'm not sure if this is normal but it asks me where to boot from (pc hard drive) and which oS (windows 7 64-bit). does anyone know how to

  • ATI card + OS driver + multi monitor

    Hello everyone, I'm stuck configuring the RadeonHD drivers for multi monitor setup. The system starts with both screens cloned; logging in is in clone mode too. After that the second display is being turned of (no signal). Using xrandr --auto will en

  • Modify_item got takes longer time in 9i

    Portal version 3.0.9.8.5 DB version 9.2.0.3.0 OS Version SunOS 5.8 We were on database version 8.1.7.4 After we upgraded to DB version 9.2.0.3.0 , it takes more than 10 times the time it took on 8.1.7.4 to do a modify_item on a file of the same size.

  • TYPE casting with SQL Server 2005

    Hi, I recently migrated to SQL Server 2005 database from Oracle 10g. I used the %TYPE operator in Oracle to cast to the appropriate column data type. PROCEDURE INS_USER                i_USERNAME               IN USERS.USERNAME%TYPE,                i_