How to strip HTML out of the form field but leave the basic user formatting?

What would you recommend to automatically strip out HTML that a user has entered into a form field? At the same time we need to preserve the basic formatting that was submitted by the users  i.e. replace <p> tags with CRLF, etc. StripHTML function is perfect but it removes all HTML and therefore, all formatting. Is there anything more flexible?
Thanks!

Do you need to strip it, or just render it inoperable.
The latter can be done with the htmlEditFormat() and htmlCodeFormat() functions.
If you want the striping, take a look at related functions at the http://www.cflib.org site.   I know I have seen HTML replace functions that had the ability to be configured to strip and|or not strip a select list of tags.
StripHTML() may actually have this feature (I believe it is hosted at cflib.org).  You may just need to see the documentation on how to configure it thus.

Similar Messages

  • How do I make a photo black and white but leave the color of her dress and flowers?

    I am trying to make one of my granddaughters prom pictures black and white but leave the color of her dress and flowers. Can someone tell me how this is done?

    evam1012
    What program are you using - Photoshop Elements or Premiere Elements, what version, and on what computer operating system is it running?
    If you are using Photoshop Elements and not Premiere Elements, you have posted in the wrong forum. In that case, you want to post in the Adobe Photoshop Elements Forum. Somehow your thread got posted in the Adobe Premiere Elements Forum (video editing).
    Photoshop Elements
    If your program is Premiere Elements, I will give you a how to for what you want to do using Premiere Elements for your video project.
    We will be watching for more information from you.
    Thanks.
    ATR

  • After creating a form from an existing document, viewing it in Adobe Reader for Android only shows the form fields, and not the document behind it.

    Using an existing PDF file to create an editable form that I can update on my tablet as I go, but when I open the file on my tablet (using Adobe Reader for Android), it only shows the blue editable fields that I've created, but not the actual form that's supposed to be behind it. However, it views properly on my PC. Am I not saving it out correctly?

    Please share the sample file with me. I am sending you instruction via private message.
    Regards,
    Anoop

  • Can I port content from one pdf form to another, from within the form fields?

    WE have been given a seasonal update to our pdf forms - with one new additional form field. Is there a way that I can port all the content from my ready filled form into this new one, without having to copy and paste each individual field?
    Thanks.

    What is it that you want to do
    - you are the form filler; you want to keep the contents of a filled in form (and put them back into a changed form)?
    - you are the person responsible for adding/changing form fields; you want to keep the design and location of the form fields while changing the underlying PDF?
    - both of these?

  • How does one strip out all Live Cycle data from a PDF and rebuild the form fields in Acrobat?

    Someone in a different department built a bunch of forms in Live Cycle. We now need to make minor edits to these forms but we all have Macs and can't use Live Cycle. Currently our only option to change a date and a name on each form  is to buy a new Windows workstation, buy a copy of Live Cycle and train someone for it.
    I understand the Live Cycle technology and Acrobat technology for forms are somehow different but there must be a way to just strip out all the Live Cycle form programming so that I just have the bare PDF with the text and layout.  Then make the text edits and rebuild the form fields in Acrobat.

    It depends on your PDF. Is the PDF a static XFA or a dynamic XFA?
    You can check to see if the PDF is static/dynamic by clicking File=>Save As, and it should say static or dynamic PDF as file type.
    iText will work with Static XFA forms created in LiveCycle. Dynamic XFA forms are not supported.
    You can also submit XML data to a server side script and parse the XML data using C# system.xml.xmlreader.
    Another tool that may speed the development of the project is:
    http://www.fdftoolkit.net/
    Note: FDFToolkit.net utilizes iText Technologies.

  • I have an iPad 1.  I filled out a PDF questionaire in adobe reader. When I send it to Dropbox, iBooks,mercury browser the form shows up without the answers .  My objective is to email the completed form. Please advise as to how to do thisThanks. Big Jake

    I have an iPad 1.  I filled out a PDF questionaire in adobe reader. When I send it to Dropbox, iBooks,mercury browser the form shows up without the answers .  My objective is to email the completed form. Please advise as to how to do thisThanks.
    Big Jake

    If the PDF is a form fillable PDF, which I assume that it is, email it to yourself or send it to DropBox and open it on your computer. You should see the fields filled in there. It works for me if I do it that way.
    Adobe Reader supports it, but the other apps don't. I assume that if you email the PDF to a computer user it would be readable in Adode Reader.

  • How do I add borders to the form fields in the checkout page of my BC shop?

    I am setting up my Shop for my website www.myartscreative.com. So far, so good. I am testing out going through the steps of ordering a copy of my sketch book, adding the appropriate shipping, etc. However, I notice when testing the checkout page, most of the fields do not have a border around them which makes it hard to see where to  fill in the pertinent info. How do I add a border or fill (or both) the form fields so my customer can easily see where to type in their information?  Here is the link to my shop's "check out page".

    Ok, got it! So, I kind of figured it out by going into the Develop tab in the BC Admin and going into the modulestylesheets.css and modifying that. Check the link above again and you will now see the borders around the input fields. Probably no big deal to you pro's out there, but I am a total newbie up to this point. Thanks again!

  • How to Supply the form field values to a pdf form when loading it

    I am working on a web site project using Asp.net where the user has to fill in a PDF eform in acrobat reader. Then when he clicks on submit it returns to my asp.net app and the PDF form supplies the values back to my asp.net app. So my asp.net app has the values that were filled in the PDF form and can save those values and work with them...
    OK.
    What I need to know is when I am in my asp.net app, and the user wants to go back and reopen the same form, from my asp.net app..... then how do I pass back the values that were saved back to the PDF form??
    I know if I had a way to pass the values to the PDF form in some way then in the Doc.open or doc.load event of the form I could easily write a little javascript to plug in the values in the PDF form fields.
    but how do I pass those values from my asp.net app to my PDF form???
    thanks

    Thanks bcweed for all the info. I fixed my problem, it had something to do with LiveCycle Designer. If I just use Acrobat to add the form fields, then the FDF works fine. As to your situation with the SavToBuf, that happens to be the method that I am using, so I will just post my code here, and maybe you can pick out what is different from yours. The Response.BinaryWrite(FDFin.FDFSaveToBuf)is at the bottom.
    Sql = "SELECT * FROM Invoices" & WHERE
    Set Conn = Server.CreateObject("ADODB.Connection")
    Conn.Open Db_Conn_Str
    Set Rs = Server.CreateObject("ADODB.Recordset")
    Rs.Open Sql, Conn, adOpenStatic, adLockReadOnly, adCmdText
    If Not Rs.EOF Then
    End If
    Set FdfAcX = Server.CreateObject("FdfApp.FdfApp")
    Set outputFDF = FdfAcX.FDFCreate
    'VendorID = VendorName = VendorNum = InvoiceDate = PreparedBy = ""
    Gross = 0
    For I=0 To Rs.RecordCount-1
    If InStr(VendorID,Rs.Fields("VendorID")) = 0 Then
    VendorID = VendorID & Rs.Fields("VendorID") & ", "
    End If
    If InStr(VendorName,Rs.Fields("VendorName")) = 0 Then
    VendorName = VendorName & Rs.Fields("VendorName") & ", "
    End If
    If InStr(InvoiceNum,Rs.Fields("InvoiceNumber")) = 0 Then
    InvoiceNum = InvoiceNum & Rs.Fields("InvoiceNumber") & ", "
    End If
    If InStr(InvoiceDate,Rs.Fields("InvoiceDate")) = 0 Then
    InvoiceDate = InvoiceDate & Rs.Fields("InvoiceDate") & ", "
    End If
    If InStr(PreparedBy,Rs.Fields("PreparedBy")) = 0 Then
    PreparedBy = PreparedBy & Rs.Fields("PreparedBy") & ", "
    End If
    Rs.MoveNext
    Next
    Rs.MoveFirst
    outputFDF.FDFSetValue "VendorID",VendorID,False
    outputFDF.FDFSetValue "VendorName",VendorName,False
    outputFDF.FDFSetValue "InvoiceNum",InvoiceNum,False
    outputFDF.FDFSetValue "InvoiceDate",InvoiceDate,False
    outputFDF.FDFSetValue "PreparedBy",PreparedBy,False
    For I=0 To Rs.RecordCount-1
    outputFDF.FDFSetValue ("Line."&I), Rs.Fields("Amount")&"", False
    outputFDF.FDFSetValue ("Company."&I), Rs.Fields("Company")&"", False
    outputFDF.FDFSetValue ("GL."&I), Rs.Fields("GL")&"", False
    outputFDF.FDFSetValue ("CC."&I), Rs.Fields("CostCenter")&"", False
    outputFDF.FDFSetValue ("DocNum."&I), Rs.Fields("DocNumber")&"", False
    Gross = CCur(Gross) + CCur(Rs.Fields("Amount"))
    Rs.MoveNext
    Next
    outputFDF.FDFSetValue "Gross", Gross, False
    Rs.Close
    Set Rs = Nothing
    Sql = "UPDATE Invoices SET DatePrinted = '" & Now() & "'" & WHERE
    Conn.Execute Sql
    Conn.Close
    Set Conn = Nothing
    outputFDF.FDFSetValue "PrintDate", Date(), False
    outputFDF.FDFSetFile "http://admin/invoices/pdf/InvoiceAuthorization.pdf"
    Response.ContentType = "application/vnd.fdf"
    Response.BinaryWrite outputFDF.FDFSaveToBuf
    outputFDF.FDFClose
    %>

  • How to Save State on an Entry Form prior to Submitting the Form?

    I want to be able to save the values the user enters to fields on the entry form if they navigate away from the page and come back (without the user clicking the submit button for the form.) For example, one of the input fields has a goLink to go to another page to lookup a field value - when the user returns from the page, all other form field values are cleared. If the user does submit the form by clicking the command button, then all form field values are saved (if the user navigates from the page and comes back, all values are retained.) What I'm trying to do then is somehow save the values (passivate the state) for the field the user has filled in when the user navigates from the page without submitting the form. Any suggestions?
    I am using a read-only View Object with all transient values. The VO is configured to passivate state including all transient values. The initial row is created programmatically; there will only be one row for the VO used as an entry form. I am not using a backing bean for the values and would prefer not to use one, but would rather use the VO's capability to passivate state to save the data values. The question then seems to be how to force the VO to passivate state prior to the form being submitted.
    thanks
    Message was edited by:
    javaX

    "My hunch is that the real problem is that the fields are not being set into the bindings due to the use of immediate="true"."
    Yes. Now I see that is the real problem. Is there anyway to force setting the bindings from the input form field values if the user navigates from the page using a goLink, or commandButton with immediate="true" other than overriding the default FacesPageLifecycle classes?
    I'd prefer not to have to do that unless necessary, and, if I over-ride that method, then how could I get it to work normally when the user presses the commandButton at the end of the form and I do want all validation checks to be performed (immediate=false for the form's submit button; immediate=true only for lookup commandButtons used for certain fields)?
    Here's an overview of how I set the page up:
    1. create transient view object; all attributes marked as always updateable; passivate state=true for VO and all transient values; no key id field selected (will only ever be one row - just using VO to save values that will eventually be used to do an insert to the database);
    2. transient VO added to Application Module
    3. Add data control to .jspx page as an ADF Form (not an ADF Creation Form)
    4. Add code to AM to create the initial row for the input form
    protected void prepareSession(Session session) {
    super.prepareSession(session);
    insertTransientViewObjRows();
    private void insertTransientViewObjRows() {
    ViewObject transientvo = getViewObj1();
    transientvo.clearCache();
    transientvo.insertRow(transientvo.createRow());
    --- Entry Form .jspx pagedef.xml snippet ---
    <executables>
    <iterator id="MyIterator" RangeSize="10" Binds="MyView"
    DataControl="AMDataControl"/>
    </executables>
    <bindings>
    <attributeValues id="sponsorid" IterBinding="MyIterator">
    <AttrNames>
    <Item Value="sponsorid"/>
    </AttrNames>
    </attributeValues>
    --- Entry Form .jspx page snippet ---
    <h:form>
    <af:panelForm>
    <af:panelLabelAndMessage label="#{bindings.sponsorid.label}">
    <af:panelGroup layout="horizontal">
    <af:inputText value="#{bindings.sponsorid.inputValue}"/>
    // state will not be saved for other form field values if use immediate="true" when temporarily navigate away from page and return; don't want to validate other form fields here
    <af:commandButton text="Lookup Details"
    action="lookup-page" immediate="true"/>
    </af:panelGroup>
    </af:panelLabelAndMessage>....
    // state will be saved with immediate="false" when user submit forms at end of entry (need to perform validation of form's required fields here)
    <af:commandButton text="Continue to Next Step" immediate="false"
    action="nextpage"/>
    Message was edited by:
    javaX

  • How do I grey a bubble on a line item that I don't want the user to be able to input, but leave the others active in a form?

    How do I grey a bubble on a line item that I don't want the user to be able to input, but leave the others active in a form?

    I may be missing something here, but can't you just set the item to "Read Only" in the general preferences for that item?

  • How can you find out if your mac is infected with the flash back virus

    how can you find out if your mac is infected with the flash back virus?

    F-Secure's Flashback removal tool - http://www.f-secure.com/v-descs/trojan-downloader_osx_flashback_k.shtml - supposedly also works on OSX 10.5 and earlier.
    05 Apr 2012 How to Detect and Protect Against Updated Flashback Malware - http://tidbits.com/article/12918 - detection methods for multiple browsers and general information
    Leopard and earlier users see recommendations at: https://discussions.apple.com/thread/3872491

  • Hi can anyone tell me how to make the forms url short to the end user

    Hi,
    Im using oracle forms 11gR2 and everything is working fine, but my question in how to make the forms url short to the end user.
    For example my forms url is  " http://localhost:9001/forms/frmservlet "  now i want to modify this url as   "myweb.gov.ae"
    can anybody suggest me the possibilities to change to default forms url to our own url as mentioned in the above example.
    Thanks & Regards,
    Hari

    You would have to either -
    * edit the code pointed to by the new action attribute to
    include the form
    processing and email generation, or
    * edit the form processing script to also include the insert
    record and
    check user name scripting
    The former is probably the better procedure, since I suppose
    you'd want to
    do the check user name before sending the email.
    Unfortunately, this means
    you will have to get your hands into the code, or hire
    someone to do it for
    you.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "ducati1" <[email protected]> wrote in
    message
    news:gkriis$et6$[email protected]..
    > Hi guys.
    > I have a page with a form on it here.
    >
    http://www.thechallenge.net.au/superredemption.php
    > I want the data placed in the textfields within the form
    to come to me in
    > an
    > email upon submission.
    > Now normally I would action the form to use this page
    here
    >
    http://www.thechallenge.net.au/Redemptionform.txt
    > But because the action of the form is now <?php echo
    $editFormAction; ?>
    > due
    > to an insert record and check user name server behavior
    I cannot use my
    > normal
    > method.
    > Can anyone tell me how I can get around this problem?
    >

  • How do i find out what numbers i have included on the find my phone app?

    how do i find out what numbers i have included on the find my phone app?

    Sorry, but what do you mean by "what numbers I have included"? Find My iPhone doesn't store nor go by phone numbers, if that's what you're referring to. It's done by the Apple ID you used to set up Find My iPhone on the device you wish to track, and the devices will be shown by name.
    You may need to explain further what it is you're asking or are trying to accomplish.
    Regards.

  • How to pass the FORM Fields value by Form Personalization

    Hi ALL,
    I want to pass form filds values in to procedure. I am calling this procedure through form personalization of that form..... But it's not accepting any form field's value there... when i am passing hardcoded vales procedure is executing fine...
    can any one suggest what to do???
    i tried with these syntax
    TEST_EMP_FP(:ADDR.ADDRESS_ID,'ABC')
    TEST_EMP_FP(${item.ADDR.ADDRESS_ID.value},'ABC')
    Regards
    Ravi

    Hi,
    Iam calling an SRS from forms personlization. Can any body tell me how to pass the Form field values as parameters to the Reports. (Example when they call this Concurrent request from Transact5ions screen, The invoice number should be defaulted in the report parameter).
    Regards,,
    Anil.

  • How may I print out a picture from paper and not the photo tray?

    How may I print out a picture from paper and not the photo tray?

    From paper?  Do you have a digital image of it on your iPhone?
    "Photo tray"?  What do you mean here?  The iPhone does not have a photo tray.  Printers have trays.

Maybe you are looking for

  • How do I get my apps from a pc to macbook?

    I have itunes on my pc and usually backup/sync my phone to it. I now want to use my macbook but don't know how to get my apps onto it. I have backed up my iphone to the macbook but can't see the apps

  • HTML/Images in a JLABEL

    hi all! I have a little problem.. 1. i want to display HTML in a JLABEL.. no problem.. just setText("htmlcode..."); 2. but there is a tag i don't like.. <img border="0" src="globe.gif" width="204" height="200"> ! java does not display the image.. onl

  • Can't load more than 2gig on 40 gig iPod.  Inexplicably skips too.

    I have a 40 gig click wheel iPod that I purchased new 1 1/2 years ago. I've been having 2 problems lately. One, I can't put more than 2 gigs of music on it. When in iTunes, at about the 2.1 gig point, when I try to load anymore music the iPod will lo

  • SAP NetWeaver 2004s Trial Version License Renewal

    Hi, How many times can I extend my license for SAP NetWeaver 2004s Trial Version? Also, is there any fee for every license extension? Thanks in advance, Haris

  • TCP Client data loss

    Hello, I have written a program that connects to a TCP Server using the TCP support Library of the CVI to exchange data between my program and that server. The problem is that it seems that this library seem to loose many received frames, as I see th