Submit fdf data to php to pupulate a html form text box

okay i have no idea if this can be done because I always see it the other way around....
I want to give my clients some instructions to type in an account number that is taken from the pdf, submitted to my web server in php or asp, and generates the information into a text box field...
can anyone help me in the right direction?

I cannot use the typical regular HTML "a href",
because I have to call a struts action.No... you said you have to submit the form with a link. A link is an "a href", it's exactly what <html:link> generates. But a link cannot be used for form submitting except by invoking Javascript to do it programatically.
Using an action in <html:link>, presuming that's really refering to an action and not just the href value, which is what I'm not really sure of. It's been a while since I've used Struts. So maybe the action is the href part, and you can put "javascript:void(0);" there?
But I'm absolutely positive about the HTML/Javascript aspect. Struts tags don't alter how HTML works. They just make generating some HTML content easier. But in this case, I'm not sure that's helpful because I never found a simple way to get the actual form name that the <html:form> creates.

Similar Messages

  • Reading html data & uploading a file in single html form using htp package

    Hi
    I have designed a html screen using htp package in which i have few text items and file upload button. I have to validate all forms data like text items and check box elements and upload file to unix. I am using java script for file validations and cgi script to upload file. With this I am able to either read form data or upload file but not both.
    At a time I want to insert a record to database with html form values and upload file to unix with htp package. Please suggest how can I read html form data + uploading a file to unix simultaneously in a single htp procedure.
    Thanks,
    Pradeep

    Have you ever considered using Application Express (APEX)?
    Oracle Application Express (APEX)
    Sounds like you're going the long way around to create a web based application.

  • How can I compare data to a series of values in a text box?

    I want to paste a series of asset numbers into a text area and use it to query the asset numbers column in a report to return only those assets whose asset number is in the text area any on know how to do that?

    If your text box contains the values concatenated by a string (: or ; or , or some other) you can use it in a query by replacing ':' with your concatenation string, similar to this example:
    SELECT empno, ename, job, mgr, sal
      FROM emp
    WHERE INSTR (':' || :p138_empno_textbox || ':', ':' || empno || ':') > 0Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Electronic PDF Submit - extend.dat file ??

    Hi, I am a website designer and this part of my job feels out of my league.
    My clients assigned me to convert a hard copy PDF into an electronic PDF document that can be filled out on the computer, saved, and then directly sent to the recipient.
    I used the Adobe Designer feature on Acrobat 8 Professional to get me going. Due to the less than sophisticated style of the document I had to work with, it wouldn't create and convert the text boxes and fields for me automatically as it usually would.... so I had to set up everything manually by creating the boxes and naming the fields.
    My manual set-up went smooth, I added my submit buttons and plugged in the e-mail addresses this document is to be sent to, and after running several tests, I keep getting this error message:
    "An extension failed to initialize. Can't open file: extend.dat The file may not exist, you may not have permission to open it, or it may be open in another program. Right click the folder that contains the file, and then click Properties to check your permissions for the folder. You don't have appropriate permission to perform this operation."
    Now what's strange is that the clients ran this document test themselves and were able to fill it out have it process, and then send it to the recipient's e-mail address. However, they came back to tell me that an XML file was bad...... no idea what that is..... Because they were at least able to send, I'm assuming they have Outlook express unlike me.
    I am new to making these types of documents. I have no idea what this error message means, what the extension file is and where it can be located, or how it relates to how my document was created. Neither do I know what the XML file does or how data can appear clearly when an e-mail is received.
    When I created this form into electronic format, I was under the impression that if someone were to fill out this document with Acrobat, save it, and then submit to e-mail, the entire filled out document would be sent out as a PDF of its own....... I'm hoping that can somehow happen, but obviously that isn't happening here.
    Help and ideas.... Thanks.

    There are several issues that come to mind. However, the biggest is the use of e-mail for this form. My comment on e-mail is due to what appears to be in the content of the e-mail that would not normally be acceptable for private information. If that is indeed the case, can the e-mail and submit to a web server. The latter can then be e-mailed locally if you really desire from a webmail script. You get around all of the problems with e-mail clients this way (and there are many problems that often crop up and are related to the client machine configuration).
    It also appears that this would be used regularly and thus the number of submissions of the full PDF would violate the Adobe license. So you should submit the data (XML for Designer and FDF for Acrobat -- I suggest FDF). The data can be imported to the form through the forms>manage data interface in Acrobat.
    If you want to try AcroForms, open the original PDF (not the one from Designer) and use Forms>Run Form Field Recognition. You can then use the forms edit in Acrobat rather than Designer. Again, I would suggest using the FDF data submission. You might try the e-mail submission here again, but I suspect it will fail as before. Generally this is a client setup issue on the e-mail package and the interface. With AA8 you have to use MAPI for the interface and this is problematic. I have some machines on which it will work and others that I have never been successful with. That is why I recommend avoiding e-mail for this use.
    Also, be aware that MAC users using the MAC preview may have problems with the form and submission. That is just a heads up, but I am not a MAC user and can't say much more.

  • Filling in pdf with FDF Data gives me square blocks

    Hi,
    I am trying to fill in a form with fdf data using pdftk but whenever I do, it gives me square characters instead of the actual text. Does anyone know why it does this?
    I am using Arial font

    Hi George, thanks for your help
    Here is the FDF:
    %FDF-1.2
    1 0 obj<</FDF<< /Fields[
    <</T(FIELD1)/V(BLAH)>>
    ] >> >>
    endobj
    trailer
    <</Root 1 0 R>>
    %%EOF
    I don't even have Helvetica on my computer
    EDIT: To be honest, I think it may have something to do with my PDF file, because I am trying to populate the fields using pdftk-php and it is doing the same thing.

  • PDF to FDF data validation/filename

    Hi,
    Im creating some PDF order forms and using submit form data to send the data to an email for collation into a spreadsheet on a weekly basis.
    Ive got a couple of issues/things i would like to implement on these but im having a bit of difficulty.
    1) Can I script the PDF so if the user does not fill in a certain field they cannot submit the data?
    2) Can the PDF assign a unique file name based on data in a field to the FDF data output? (If the PDF was called Order fom.pdf and a field had John typed in it the FDF output would be called John Order form.pdf)
    Cheers for any help guys.
    Guss

    Answer to 1) Yes, just tick the Required box for that field.

  • Radio button data to php form

    I set up a survey, and I need the info from the radio button
    groups to send to a php form that will email me the results. So far
    I have not been able to get it to work. All I have so far is the
    code below attached to the submit button. I had a working contact
    form that I am trying to add radio buttons to, but they do not pass
    their info like the input text boxs do. I am a beginner with
    actionscript so I am having trouble finding where to get this to
    work. I have all my peramiters set on each radio button too. I just
    do not know what script to add to what I have so it will pass the
    data over to the php form.
    I have the survey as one MC which is inside a scroll pane if
    that matters. What I have so far can be seen here.
    http://ebinx.com/carrand/freestuffswf.swf
    Thanks

    bump

  • Android mobile does not work with submit fdf format

    I want to gather data by mobile device (Android) as JavaScript does not work well in this environment, I intend importing the gathered data into a report PDF form with JavaScript functions etc., however the Acrobat mobile reader does not appear to work with the submit function for sending data (FDF format) by E Mail.
    We are using Acrobat XI in most cases to gather this data and this works well, however we are experimenting with mobile options which are very limiting, and therefore we thought by just gathering the data on a mobile device we could import it into our working windows pdf form, our trials using this concept in a windows environment work, but we stumbled once we found that the submit button does not work in the android reader to send the FDF data.
    Does anyone know of a work around?
    Regards Mike

    FormsCentral can be a bit confusing, so I'll try to clarify some things. It allows you to work with two completely different types of forms: web forms and PDF forms. Web forms are HTML forms and are hosted on the FormsCentral server and loaded into and submitted via the user's browser, so web forms do require internet access.
    FormsCentral can also process submissions from PDF forms, and the forms can either originate from Acrobat or the FormsCentral designer, either the desktop app that comes with Acrobat 11 or the browser-based app. The FormsCentral designer allows you to create PDF forms with simple layouts, whereas Acrobat gives you much more flexibility. Designing a PDF form in FormsCentral can be helpful if you want to be able to use the same form for both a web form and a PDF form, allowing to to take advantage of each type at the same time, but you are not limited to PDF forms that are created by the FormsCentral designer.
    Regardless of how the PDF was created, it can be set up to submit the form data to the FormsCentral server, which is done using the same format as a web form. It is done securely using HTTPS. There are certain features that are supported with PDF forms that aren't supported by FormsCentral, but this is usually not a problem. The most significant limitation is the 500 field limitation, so some larger forms aren't possible.
    Once you have a PDF form created in Acrobat, you simply import it into FormsCentral and it gets uploaded to the FormsCentral server, where it is Reader-enabled, a submit button is automatically added, and is then downloaded so you can distribute it by placing it on your web site, sending by email, etc. So unlike web forms, FormsCentral does not host them for you.
    It is possible to use Acrobat to modify the PDF that you download, first by selecting in Acrobat "File > Save a Copy", opening the copy, and making the changes. This is often done to change the submit button (size, location, other properties) of the submit button that gets added. You can then Reader-enable in Acrobat if needed and distribute the form.
    Since it's a normal PDF form that is Reader-enabled, Reader users will be able to open it, fill it in, and save it at any time using Reader for Windows/Mac or Reader for Android/iOS. The latter currently only support submitting via email or to FormsCentral, as opposed to your own web server. Once the user has access to the internet, they can open the form and press the submit button. If the submit is successful, the FormsCentral server returns a response so the user gets some feedback, unlike with email "submits".
    Each submission is automatically stored in the responses table, which you and team members can view at any time. An individual response can be downloaded as a filled-in PDF, or you can download the entire table and import the data into a spreadsheet for further analysis. As mentioned earlier, you can set it up so that you and others can receive an email for each submission, and it can include the form data in the body of the email if wanted.
    Post again if you have any questions, or go to the FormsCentral forum here. The forum is generally very good, but sometimes questions about PDF forms are not answered entirely accurately, so it's sometime helpful to post here too.

  • How do i get fdf data to open in my pdf form

    I created a fillable pdf form for one of my employers to fill in terminated employees then email back to me. I have two or three problems. First, when i receive the email back I have the fdf attachment with the form, when I try to open it, I get a message about "trusting the form" I've always selected "always trust this form' as it comes from the same person each time but Acrobat Pro X doesn't save my selection to trust. Next problem, I also get a message that I need to browse and find a pdf form to open for the fdf data to display. Why doesn't the most recent opened form for the fdf data appear in my most recent documents list?
    If anyone can help I sure would appreciate it, it's very annoying to have to go through these steps everytime I get a form back.
    Mike

    The FDF would normally have a reference to the form from which it was exported, usually with a specific path. Because it can't be found on your system, you're prompted to locate a form to import the FDF into. If you open the blank form that is on your system separately, it should appear in the most recent list.
    So I'd suggest this workflow instead:
    1. Download and save the FDF from the email.
    2. Open the blank form.
    3. Import the FDF into the blank form.

  • How to open a pdf form with fdf data

    Hi all,
          I am working on a new project. In that, I have to load a PDF contract form with FDF data on Internet Explorer Window.
    I don't know how to do it. Actually I tried using this format on the URL (while loading the respective page)
    http://www.example.org/pdf_file_name.pdf#FDF=http://www.example.org/fdf_file_name.fdf
    But it opened as an empty pdf document. . Actually I need it with the fdf data.
    Can anyone know any other way to do this?
    Or is this not possible to open a pdf form with fdf data in a browser?
    Thanks in advance
    Annamalai

    @ Bernd. It still opens a text file
    Here's my FDF file sample
    %FDF-1.2
    %âãÏÓ
    1 0 obj
    <<
    /FDF << /Fields
    <</V (07/22/2009)/T (Loan_Note_Date)>><</V (22.29)/T (Loan_AnnualPercentage_Rate)>></V ()/T (Seller_ESignatureArea1_Date)>><</V (GA Dealer)/T (Seller_Signer_FullNameTitle)>><</V ()/T (ThirdParty_ESignatureArea1_Date)>>
    /F (MARSMFLZ.pdf)/ID [ <1f0b6b55f345db39e8246247138fe562><e960588530b0d06d35cd618b34d4c314>
    ]>>
    >> endobj
    trailer
    <<
    /Root 1 0 R
    >>
    %%EOF
    (I have uploaded the related pdf file before.)
    Just now I got an idea to use WScript (the code is written in javascript)
    ws = new ActiveXObject("WScript.shell");
    ws.Run('"AcroRd32.exe" "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf"', 1, true);
    this opens my fdf document in Acrobat reader using command prompt.
    I have a doubt now, can i use some string in place of "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf" in the above command?
    I mean something like fdf_file = "C:\\annukar\\Refi\\Refinance_Module\\Forms\\Contract.fdf"
    and replace ws.Run('"AcroRd32.exe" fdf_file,1,true). I tried it but it doesn't work Any idea's? Since the path will not remain the same always. So i need to change it

  • Exporting Text data from PHP to Oracle CLOB data (Carriage return - issue)

    This is my original text content in PHP - Data type - Longtext
    SECTION - 1
    This a test description.This a test description.
    This a test description.This a test description.
    This a test description. This a test description.I exported the above content from PHP as a SQL script file (insert into.. ) - export.sql [ insert into table_name (id, text_content) values (1, '') ]
    while exporting data from PHP table into export file.. it replaced the "Carriage return" with "\r\n\r\n" in the insert statement for text_content column
    When I run this INSERT statement in Oracle (for longtext, I have created a CLOB column in Oracle), the following text_content data is inserted into CLOB column in Oracle.
    SECTION - 2
    This a test description.This a test description.\r\n\r\nThis a test description.This a
    test description.\r\n\r\nThis a test description.This a test description.Now I have created a item named P1_TEXT_CONTENT of type TEXTAREA and try to fetch the CLOB data into this page item.
    BUT textarea displays the entire content including "\r\n\r\n" as mentioned in SECTION - 2
    I want to display the content in textarea (item - P1_TEXT_CONTENT) without "\r\n\r\n" same as the original content with "Carriage return" as mentioned in SECTION - 1
    What are the options we have?
    Thanks,
    Deepak

    DeepakJ wrote:
    I want to display the content in textarea (item - P1_TEXT_CONTENT) without "\r\n\r\n" same as the original content with "Carriage return" as mentioned in SECTION - 1
    What are the options we have?Run an update on the Oracle table following the inserts to replace the escaped CR/LFs with real ones:
    update foo
    set clob_column = replace(clob_column, '\r\n', chr(13) || chr(10));You might want to experiment to see which characters are actually necessary. As an OS X/Linux user I'd probably just use a single LF chr(10).

  • Compiling form data: how to add FDF data?

    Hi there
    I've created a PDF form and am testing the distribution and compilation process. I created the form in Acrobat. I suspect most of the end users will have Reader, so after having distributed it through the Acrobat wizard (to myself) I filled it in with Reader and sent it back (the FDF file).
    When I open this FDF file from my email application, it doesn't automatically add it to the data set created in the distribution process. Instead it says that the data file cannot be located and asks if I'd like to browse for it. I do so, find it, and the completed form opens in Reader, not Acrobat. I can get around this by ctrl-clicking in Mail and telling it to open with Acrobat.
    However, when I do manage to get the completed form open in Acrobat it does not add the data to the spreadsheet field at the top. If I try to Import Data, the FDF file is greyed out – it wants a PDF. And if I import the FDF by going to Forms > Manage form data > Import data..., it shows the completed form but not the data in the spreadsheet again.
    So, how can I add this FDF data to the data set and get it to display in the spreadsheet area? Alternatively, how can I save this completed form as a PDF (not a data set as happens if I go File > Save) so that I can import that into the data set?
    I hope I've explained it clearly enough! Any help would be appreciated.

    Priya,
    Preview the iview and try shiftright click or ctrlright click and add the additional fields.
    if it doesnot work then you need to customise the code as per the requirements.

  • How do I submit xml data from a form to live cycle

    Hi
    This is my first post, so I'm not sure if this is the right forum.
    I have a flex app, which calls a pdf. You enter the info on the pdf and then click submit. Now I need to know what i have to do to submit the information (not via email)to a live cycle process and which live cycle process I must submit it to?
    I'm assuming I must using some sort of servlet to submit the info?
    Any help would be greatly appreciated.
    Thanks
    Ross

    Hello Ross,
    Yes, you need a servlet that gets the submitted info from PDF, and then that servlet internally need to invoke your process.
    There are couple of ways you can submit the data to your servlet, either as PDF/XML/XDP. If you are looking for submitting PDF/XDP, then one need to have either Acrobat S.W (Standard or Professional) or you need to apply ReaderExtensions on those PDFs.
    Hope I answered your questions.
    Regards
    Sivajee

  • Submit PDF Data via SOAP

    Situation:
    Write a PDF out to a public share.
    Email the location reference to a user.
    Allow the person to add their data to the form.
    Allow the person to submit.
    I would like to submit the data to a workflow process.
    From what I have read, a lot of people indicate this is done by writing a web service that acts as a proxy to the actual workflow process. Is that really the best/easiest way?
    I know that LiveCycle exposes the WSDL for any workflow process that is written. Is there a way to call that directly without the proxy?
    I know you can set up a Data Connection on a form. Is that the best way?
    Can I simply but the end point of the LiveCycle SOAP endpoint in the "Submit To Url" field of a Submit button?
    Any words of wisdom?

    There are six different ways to initiate a workflow process. 3 are created automatically when the process is activated and 3 require you to build an endpoint.
    1. Automatic endpoint - Data Services - you could submit the data to a servlet or other such program and in turn have it call Data Services to start the process.
    2. Automatic endpoint - EJB interface - submit the data to a servlet and have it call the EJB interface to start the process.
    3. Automatic endpoint - Web Service interface - same as above but use the SOAP interface instead. You could also have the form call the SOAP interface directly but there will be some work required on the form to get the contents of the form to submit via SOAP.
    4. Endpoint requires config - Watched folder - you can save out the data to a shared network drive. That drive is monitored by Livecycle and your process is kicked off when a file is dropped into that folder.
    5. Endpoint requires config - Email endpoint - same as #4 except email is used and not a folder.
    6. Endpoint requires config - TaskManager endpoint - make use of workspace to have the user choose the process to start and the data is submitted to the process automatically.

  • How to store spry data in php array

    I am trying to store spry data in php array like this:
    <? $foo= array();?>
      <div spry:region="dsCALC">
        <div spry:repeat="dsCALC">
          <?php
    $foo[]='{dsCALC::DataPrice}';
    ?>
          </div>
      </div>
    <?var_dump($foo);?>
    Outputs:
    Array (     [0] => {dsCALC::DataPrice} )
    If I tried a variable, it works ok... The array, not... Any ideas?

    Outputs:
    Array (     [0] => {dsCALC::DataPrice} )
    And so it should, because that is what you told the PHP-script to do in the following line of code.
    $foo[]='{dsCALC::DataPrice}';
    Please remember that PHP code is handled on the server, whereas JavaScript (Spry) is handeld on the client (browser) end. JavaScript cannot be handeld by PHP nor can JavaScript handel PHP.
    My question to you is, why do you want to store the data in a PHP-array and how is the Spry data obtained?
    Ben

Maybe you are looking for

  • Part payment through app

    Dear gurus, Can we make part payment through APP? Please tell me the procedure. Thanks in advance N.M.B

  • Error in Career and Job= Skills Profile

    I have the following issue: In the application of Career and Job=>Skills Profile. When I want add a new qualification, the system display the following message of error: Root Cause The initial exception that caused the request to fail, was:    java.l

  • How many ipods do i have to go through with the red x?

    i have had 3 ipods in the past 6 months the recent one ive had for 3 weeks after getting it back ive sent in 3 ipods so far and getting tired of putting music and videos on it and having it end up with the red X. how many ipods do i have to go throug

  • Comm and Tran Structure

    An object has been mapped to an InfoObject in the Trans Structure but is not included in the Comm Structure.  However, when we load to an ODS the object is also loaded.  Why is this? Thanks

  • Ajax, Netbeans Woodstock, Woodstock

    HI: I need help with the following please. The issue to resolve is this: I need to display on the screen a log that I receive from a Servlet asynchronously I do not need to update the server side data, only to see the results on the screen. Following