Inserting HTML forms lose formating, how do I fix it

here is my question:
     I have a customer with a pretty specific form they want to use,  it has invoice numbers auto generated, drop down list with specific equipment etc.  I have been able to isolate the form code from the old site and paste it into muse.  but the submit and reset buttons at the bottom don't show up correctly.  I tested this using a tutorial found here http://www.sitepoint.com/style-web-forms-css/ , I pasted the same code in a sample page in muse and the same thing comes up,  the submit button is no longer a submit button just a gray box with text.  if you just creat a txt file, insurt the code and save as HTML it is fine, but once in Muse it changes something, not sure how to fix.  it works and submits but looses the formating  I tried to use the formating in the tutrial and nothing happend.  Any ideas of what I can do to fix this.  not sure if I am missing a step, but seams pretty simple, copy, paste and done.  if needed add a little formating through css and done, but that desn't seem to work, just like in the tutorial on the site above.  my customers test site is http://www.selectpos.com/temp/advanced-exchange-request.html, the boxes around the submit and reset are just that boxes I drew in, that is a pretty bad attempt at a fix.  An issue for this is it looks good in IE but other web browsers the boxes move around.
Any help suggestions, tips or direction is greatly apprecated.

I have the exact same problem, the coding works but muse renders the code and adds an uglyness to it.. why is that so? Could it be that we are using html into a html5 site (muse uses html5)?
Unfortunately I don't have a simple solution to this. my example: http://www.bennstroms.se

Similar Messages

  • Cannot fill in forms online. How can I fix this?

    I cannot fill in forms online. How can I fix this?

    Click the orange Firefox button and go to Options | Options | Privacy and checkmark "'''Remember Search & Form History'''".
    Some sites use Flash objects for which you'll need Adobe Flash to be installed. You can download that from http://get.adobe.com/flashplayer/

  • Insert html form tag inside another form tag

    Hi all, this is my issue. I have a xhtml page structured as following:
    <h:form id="mainForm">
    ....... some stuff........
    <form id="fileForm" action="myServlet" method="post" enctype="multipart/form-data">
         <input type="file" onchange="fileForm.submit()" />
    </form>
    </h:form>
    When uploading a file, I wanna submit only 'fileForm'. But "fileForm.submit()" doesn't work because fileFom is null. Looking at the page source, I realized that only one form is seen client-side (the mainForm):
    <form id="mainForm">
    ....... some stuff........
         <input type="file" onchange="fileForm.submit()" />
    </form>
    Any idea on how to implement it?
    Thanks in advance...

    I think so too.
    I tried creating a custom fileUploader component but, as expected, it didn't work.
    Here http://balusc.blogspot.com/2009/12/uploading-files-with-jsf-20-and-servlet.html they create a completely custom renderer which would solve my issue but it works only with j2ee6 and for company reason I must use j2ee5.
    I think I have to refactor the page and figure out a new approach.
    Thanks for your reply.

  • Smartview Forms Lose Formatting

    We have had occasional complaints from users that the formatting in their Smartview-based webforms will disappear (ie. no Green/Yellow cells, etc), and they either need to restart Excel or their computers to get it to come back. When those users send the Excel document to others, the formatting returns when those users hit refresh. The "Use Excel Formatting" option doesn't seem to affect this issue one way or the other -- that simply adds/removes the thick grey cell borders. Has anyone encountered this issue before? Any suggestions for resolving?

    - Losing the EXCEL formatting after Zoom In, PIVOT, Undo or Redo operations even if "preserve excel formatting" option is set is expected behavior. This is described in “Using Excel Formatting” on page 209 of http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/sv_user.pdf and also on page 215 of http://download.oracle.com/docs/cd/E12825_01/epm.111/sv_user.pdf. It states that member and numeric formats may unexpectedly change after pivot operations.
    - Smart View does preserve the formatting on the worksheet between operations. Use Excel Formatting is supported for refresh and submit actions but not for zoom or pivot operations.
    It is confirmed that when "Use Excel Formatting" is enabled, formats are preserved only for Refresh and Submit. Undo or any other operation will cause the formatting to be overwritten. So, one could disable "Use Excel Formatting" and use Smart View style to select formats for members and data status.
    Refer - EXCEL Formatting is Lost After Zoom In, PIVOT, Undo or Redo Operations Even if the "preserve excel formatting" Option is Set (Doc ID 1096328.1)
    HTH-
    Jasmine.

  • I synced my ipod but it then restored i walked away for like 10 minutes. it restored and started everything over. i have all my music back on, but know i have an Iphone format. how do i fix it?

    how do i put it back to ipod format?

    Connect the device to the computer.
    In iTunes, select the content desired to sync.
    Sync.
    This is all described in the User's Guide, reading it may be a good place to start.

  • Iphoto won't let me download my photos because they don't have the right format, how do I fix this?

    I tried downloading photos onto iphoto from my camera but anytime I would try to import an of the images it would stop and say that the format was unreconizable and that it couldn't download it. I'm really frusterated by it and need help, I'm computer stupid.

    It sounds like you're trying to import raw images from an unsupported camera. Check the page linked below to see whether your camera is supported:
    OS X Mountain Lion: Supported digital camera RAW formats

  • I downloaded my photos from my Hp laptop, but all of the photos are in negative format - how do I fix this?

    Do I have to remove all photos from my ipad now and try to download again?  Can I not change the view from negative to normal on the ipad?  Can I delete photos on the ipad?  Why did this happen?  Do I need a photo app on the ipad?

    Can you see other pictures like wallpaper in normal mode?
    Did you check the format of the photos you synced through iTunes?
    iOS and iPod: Syncing photos via iTunes
    On a Mac, these file formats will sync from your iPhoto Library to your device: JPG, JPEG, TIFF, PICT, GIF, PNG, JPG2000 or JP2, PSD, SGI, and BMP.
    On Windows, these file formats will sync to your device: JPG , JPEG, BMP, GIF, TIF, TIFF, PSD, SGI, and PNG.
    Did you check the settings for black&white in Settings/General/Accessibility/ "White on Black" ---> "OFF"
    Message was edited by: Ingo2711

  • Windows Vista home premium has reverted to old format - how can i fix this?

    On Tuesday I turned on my laptop to discover that windows vista home premium had reverted to the old style. I'm using a Toshiba laptop (Satellite). The toolbars are now grey and the circular start logo has been replaced with the old rectangle, the dialogue
    boxes are old style too.
    I was prompted to install the service pack 2 which I did smoothly but no change and then today I was prompted to install a further 59 updates which I did and after restarting my laptop still no change.
    I've ran a virus check and no threats were found. I've also deleted some stuff off my laptop and tried to clear it out but no change.
    I'm not very technicallly minded but would really like this fixed. Any suggestions?

    On Tuesday I turned on my laptop to discover that windows vista home premium had reverted to the old style. I'm using a Toshiba laptop (Satellite). The toolbars are now grey and the circular start logo has been replaced with the old rectangle, the dialogue
    boxes are old style too.
    You mean the ones like Windows 2000, where windows and dialog boxes have grey backgrounds and dark blue colour in titlebar?
    If yes, somehow the Windows theme might have been switched to Windows Classic. 
    Right-click an empty area on the Desktop > Personalize. Now select Theme under Personalization. In the
    Theme Settings window, select "Windows Vista" theme from the dropdown. Click OK to apply the theme.

  • I keep getting a  failed: can't transcode to audio only format how do i fix this?, i keep getting a  failed: can't transcode to audio only format how do i fix this?

    Can someone please help me i cant fix this problem

    Antonio,
    Show ... it worked ... you are the man! This hint of clicking the right mouse button on the prompt and run as Administrator was perfect.
    Thank you very much

  • Update XML files with HTML forms...

    Hi,
    I would like to know if its possible to update or insert data
    to XML files from a HTML form? And how can I do it?
    Does dreamweaver have any extension that does this?

    hi bregent!
    im using php.
    i have a xml flash slide show script, and i want to insert
    this slide show on a site. No problem here, but i would like to
    create a backoffice were i can update or insert the pictures of the
    xml slide show.
    can you help me on this?

  • Tried to install itunes, on my computer. i used to have itunes on this computer but when i went to install it again an error came up saying that it couldn't delete the old itunes when it has already been installed how do i fix that?

    i used to have itunes on this computer once before, but when my old ipod broke i unistalled it. i found my other ipod so decided to reinstall itunes and it comes up with an error saying that it can't delete former itunes files, how do i fix that?

    decided to reinstall itunes and it comes up with an error saying that it can't delete former itunes files, how do i fix that?
    What's the precise text of the message please, jessica? (There's a couple of different ones I can think of that you might be getting.)

  • How to get date from html form through php to show table from oracle sql

    I have a form method post.Also an input date like input date (html 5,the one that picks the date from a window below)
    I want to take the date the user inputs and use it in a php which contains a contains a select statement that is like that $stid = DBExecute($conn, "select customer_name,product_name,order_date,quantity and ends like this.. and order_date>='".$_POST['date']."'");
    Then i have echo "<table....
    And while ($row = oci_fetch_array($stid, OCI_ASSOC)) {......
    But I have a problem on that. No results shown. Why?
    Does anybody know to help me?
    What value the date input gives in HTML5 and in which format? How can i fix that?

    There's not enough info posted to help.  Do some googling.  Do some debugging - add some 'var_dump' calls in PHP to check everything
    e.g. var_dump($_POST);
    And never, ever, ever do concatenation like you do with $_POST to build up a query string.  This is a major "SQL Injection" security risk.
    instead, use an OCI8 bind variable.  See PHP: OCI8 - Manual

  • How to fill in a PDF form after client fills in HTML form

    i guess i need to try this a second time.
    i have been to numerous sites where they ask a user to fill in lot of fields with a html web form, and then when all done all that filled in data gets transferred into PDF forms for the client to print out, ertc
    tyopical sites i have seen this with are brokerage accounts for stock and commodities. all the major houses use this format, along with electronic signatures, etc ec etc
    so, the client fills out an html form, presses enter, and voila a pdf form shows up with all *its* fields filled in with the information the client supplied in the html form.
    this is what i am trying to figure out how to do. i have been searching the internet for 10 days now, about 4 hrs a day on this and i still have not found the code for this
    my site is PHP, but java i guess would work as well.
    any way, i am getting way behind on this project and if anybody knows where the code is to make this hapen at my site i'd be grateful to find out :)
    THANKS!!!

    Does anyone have any ideas on how to achieve this as we are keen to introduce this option on our own online forms?

  • How to reference html form element in javascript ?

    Dear all,
    My DPK portlet is like this:
    I created a html form within it there a several textfields, a hidden field and a SUBMIT button.
    The application will call itself to insert a new record to database table on pressing the SUBMIT button.
    My problem is that since all the form textfields and the hidden field ara all the qualified names, and I want to set the hidden field to some value, say "ADD" on the onsubmit event in the form. How can I reference the hidden field in javascript ?
    Or can you suggest another strategy to do that ?
    Many thanks
    George (HK)
    Here are the code fragment:
    String portletParamSubmit = "mSubmit";
    String portletParamTitle = "mTitle";
    String portletParamURL = "mURL";
    String portletParamAction = "mAction";
    //Fully qualified URL.
    String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);
    String formName = UrlUtils.htmlFormName(pReq, null);
    String fTitle = HttpPortletRendererUtil.portletParameter(request, portletParamTitle);
    String fURL = HttpPortletRendererUtil.portletParameter(request, portletParamURL);
    String fAction = HttpPortletRendererUtil.portletParameter(request, portletParamAction);
    String vl_Title = "";
    String vl_URL = "";
    String vl_Action = "";
    String vl_result = "";
    if( pReq.getQualifiedParameter(portletParamAction) == "ADD")
    vl_Title = pReq.getQualifiedParameter(portletParamTitle);
    vl_URL = pReq.getQualifiedParameter(portletParamURL);
    //Add News.
    try{
    CallableStatement cs_2 = conn_erp03.prepareCall("{call XXCT_PORTAL_NEWS_PKG.P_ADD_NEWS(?,?,?,?,?,?)}");
    cs_2.setString(1, "ADD");
    cs_2.setString(2, pReq.getUser().getName());
    cs_2.setString(5, vl_Title);
    cs_2.setString(6, vl_URL);
    cs_2.registerOutParameter(10,Types.VARCHAR);
    cs_2.execute();
    vl_result = cs_2.getString(10);
    cs_2.close();
    catch (SQLException se) {
    sb.append("Query: SQL Exception: " + se.toString());
    System.out.println(sb);
    %>
    <head>
    <script language = "Javascript">
    <!--
    function SetAction() {
    document.<NAME THE OF HIDDEN FIELD>.value = 'ADD'; <====How to refer it ?
    return 1;
    // -->
    </script>
    </head>
    <body>
    <form name="<%=formName%>" method= "POST" action="<%=UrlUtils.htmlFormActionLink(pReq, UrlUtils.PAGE_LINK)%>" onSubmit="return SetAction()">
    <%= UrlUtils.htmlFormHiddenFields(pReq, UrlUtils.PAGE_LINK, formName)%>
    <table>
    <tr>
    <td>Title</td>
    <td><input type="text" length=100 name="<%=fTitle%>"></td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td>URL</td>
    <td><input type="text" name="<%=fURL%>"></td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td><INPUT type="submit" name="mysubmit" value="ADD NEWS"></td>
    <td><input type="hidden" name="<%=fAction%>"></td>
    <td> </td>
    <td> </td>
    </tr>
    </table>
    </body>

    hi Neeraj Sidhaye,
    After trying your suggest codings,
    I come to the problem of null pointer exception message captured in the application log file as:
    06/08/11 11:48:57 Prj_News: [instance=212602_PORTLET_NEWS_49519249, id=79187977878,4] ERROR: AbstractResourceRenderer.renderBody - recieved ServletException. Root cause is
    java.lang.NullPointerException
    What's wrong ?
    George (HK)
    Here is my coding:
    <%@page contentType="text/html; charset=Big5"
    import="javax.naming.*"
    import="javax.sql.*"
    import="java.sql.*"
    import="oracle.jdbc.*"
    import="java.sql.Date"
    import="java.util.*, oracle.portal.provider.v2.*"
    import="oracle.portal.provider.v2.http.HttpCommonConstants"
    import="oracle.portal.provider.v2.render.PortletRendererUtil"
    import="oracle.portal.provider.v2.render.PortletRenderRequest"
    import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"
    import="oracle.portal.provider.v2.url.UrlUtils"
    %>
    <%
    StringBuffer sb = new StringBuffer();
    PortletRenderRequest pReq = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    %>
    <%
    //Database connection.
    InitialContext ic = new InitialContext();
    DataSource ds_erp03 = null;
    Connection conn_erp03 = null;
    try {     
    ds_erp03 = (DataSource)ic.lookup("jdbc/ERP03_DS");
    conn_erp03 = ds_erp03.getConnection();
    catch (SQLException se) {
    sb.append("Connection: SQL Exception: " + se.toString());
    System.out.println(sb);
    catch (NamingException ne) {
    sb.append("Connection: Naming Exception: " + ne.toString());
    System.out.println(sb);
    %>
    <%
    //Self defined names.
    String portletParamSubmit = "mSubmit";
    String portletParamMainCat = "mMainCat";
    String portletParamSubCat = "mSubCat";
    String portletParamTitle = "mTitle";
    String portletParamURL = "mURL";
    String portletParamDescription = "mDescription";
    String portletParamEffDateFm = "mEffDateFm";
    String portletParamEffDateTo = "mEffDateTo";
    String portletParamAction = "myAction";
    //Fully qualified URL.
    String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);
    String formName = UrlUtils.htmlFormName(pReq, null);
    String fMainCat = HttpPortletRendererUtil.portletParameter(request, portletParamMainCat);
    String fSubCat = HttpPortletRendererUtil.portletParameter(request, portletParamSubCat);
    String fTitle = HttpPortletRendererUtil.portletParameter(request, portletParamTitle);
    String fURL = HttpPortletRendererUtil.portletParameter(request, portletParamURL);
    String fDescription = HttpPortletRendererUtil.portletParameter(request, portletParamDescription);
    String fEffDateFm = HttpPortletRendererUtil.portletParameter(request, portletParamEffDateFm);
    String fEffDateTo = HttpPortletRendererUtil.portletParameter(request, portletParamEffDateTo);
    // String fAction = HttpPortletRendererUtil.portletParameter(request, portletParamAction);
    String fAction="myAction";
    String vl_MainCat = "";
    String vl_SubCat = "";
    String vl_Title = "";
    String vl_URL = "";
    String vl_Description = "";
    String vl_EffDateFm = "";
    String vl_EffDateTo = "";
    String vl_Action = "";
    String vl_result = "";
    %>
    <%
    if( pReq.getQualifiedParameter(portletParamAction).equals("ADD")) <= This line cause the null pointer exception <<<<<<<<
    vl_MainCat = pReq.getQualifiedParameter(portletParamMainCat);
    vl_SubCat = pReq.getQualifiedParameter(portletParamSubCat);
    vl_Title = pReq.getQualifiedParameter(portletParamTitle);
    vl_URL = pReq.getQualifiedParameter(portletParamURL);
    vl_Description = pReq.getQualifiedParameter(portletParamDescription);
    vl_EffDateFm = pReq.getQualifiedParameter(portletParamEffDateFm);
    vl_EffDateTo = pReq.getQualifiedParameter(portletParamEffDateTo);
    //Add News.
    try{
    CallableStatement cs_2 = conn_erp03.prepareCall("{call XXCT_PORTAL_NEWS_PKG.P_ADD_NEWS(?,?,?,?,?,?,?,?,?,?)}");
    cs_2.setString(1, "ADD");
    cs_2.setString(2, pReq.getUser().getName());
    cs_2.setString(3, pReq.getQualifiedParameter(portletParamMainCat));
    cs_2.setString(4, pReq.getQualifiedParameter(portletParamSubCat));
    cs_2.setString(5, pReq.getQualifiedParameter(portletParamTitle));
    cs_2.setString(6, pReq.getQualifiedParameter(portletParamURL));
    cs_2.setString(7, pReq.getQualifiedParameter(portletParamDescription));
    cs_2.setString(8, pReq.getQualifiedParameter(portletParamEffDateFm));
    cs_2.setString(9, pReq.getQualifiedParameter(portletParamEffDateTo));
    cs_2.registerOutParameter(10,Types.VARCHAR);
    cs_2.execute();
    vl_result = cs_2.getString(10);
    cs_2.close();
    catch (SQLException se) {
    sb.append("Query: SQL Exception: " + se.toString());
    System.out.println(sb);
    %>
    <SCRIPT SRC="<%=HttpPortletRendererUtil.absoluteLink(pReq,"clock.js")%>"></SCRIPT>
    <LINK REL=stylesheet TYPE="text/css" HREF="<%=HttpPortletRendererUtil.absoluteLink(pReq,"tables_style.css")%>">
    <head>
    <script language = "Javascript">
    <!--
    function doSubmit(myAction)
    // alert(myAction);
    if(myAction == 'ADD')
    document.forms[0].<%=fAction%>.value="ADD";
    else if(myAction == 'DELETE')
    document.forms[0].<%=fAction%>.value="DELETE";
    document.forms[0].submit();
    // -->
    </script>
    </head>
    <body>
    <form name="<%=formName%>" method= "POST" action="<%=UrlUtils.htmlFormActionLink(pReq, UrlUtils.PAGE_LINK)%>">
    <%= UrlUtils.htmlFormHiddenFields(pReq, UrlUtils.PAGE_LINK, formName)%>
    <table>
    <tr>
    <td style="color:#fff;font-family:'Arial';font-size:14px;text-align:right;">Page</td>
    <td>
    <select name="<%=fMainCat%>">
    <option value="X">-- Please select --
    <option value="FAE">FAE
    <option value="PM">Product Marketing
    <option value="RD">R&D
    <option value="BU">Business Unit
    </select>
    </td>
    <td style="color:#fff;font-family:'Arial';font-size:14px;text-align:right;">Region</td>
    <td>
    <select name="<%=fSubCat%>">
    <option value="X">-- Please select --
    <option value="1">Region 1
    <option value="2">Region 2
    <option value="3">Region 3
    <option value="4">Region 4
    </select>
    </td>
    </tr>
    <tr>
    <td style="color:#fff;font-family:'Arial';font-size:14px;text-align:right;">Date From</td>
    <td><input type="text" size="6" maxlength="10" name="<%=fEffDateFm%>"></td>
    <td style="color:#fff;font-family:'Arial';font-size:14px;text-align:right;">Date To</td>
    <td><input type="text" size="6" maxlength="10" name="<%=fEffDateTo%>"></td>
    </tr>
    </table>
    <table>
    <tr>
    <td style="color:#fff;font-family:'Arial';font-size:14px;text-align:right;">Title</td>
    <td><input type="text" size="100" maxlength="100" name="<%=fTitle%>"></td>
    </tr>
    <tr>
    <td style="color:#fff;font-family:'Arial';font-size:14px;text-align:right;">URL</td>
    <td><input type="text" size="100" maxlength="200" name="<%=fURL%>"></td>
    </tr>
    <tr>
    <td style="color:#fff;font-family:'Arial';font-size:14px;text-align:right;">Description</td>
    <td><textarea id="description" rows="5" cols="76" maxlength="500" name="<%=fDescription%>"></textarea></td>
    </tr>
    <tr>
    <td><input type="hidden" id="<%=fAction%>" name="<%=HttpPortletRendererUtil.portletParameter(request, portletParamAction)%>"></td>
    <td><input type=button value="Add" onClick="doSubmit('ADD')"></td>
    </tr>
    </table>
    </form>
    </body>

  • How to upload a file with a HTML form into a BLOB ?

    Hi,
    I want to upload a file into a BLOB.
    I have created a procedure in PL/SQL whitch generates an html form.
    You can upload a file with <input type="file" name="my_file">.
    How can I insert this file into my database ?
    Thank's for your Help
    Estelle

    Hi Estelle,
    Portal Applications forum is a more apporpriate forum for such questions. Please post your question there.
    Thanks,
    Ravi

Maybe you are looking for