How do you add a button that will email the PDF its on?
I need to create a form but they want it to have a button that will open up an email to send that PDF as an attachment or something along those lines. Is that possible?
Just a bit more info. E-mail can be used, but has potential problems -- often related to the client machine that you have no control over. Use the data submissions (either FDF or XML) rather than the full PDF so you do not have to deal with Reader Rights and the related license issues. The FDF and XML data files are easily imported into the original form so that you see what the client sees. With those aspects in mind, just go ahead and try one. Be aware that you can add form fields using the form tools in the Advanced Editing tools, OR use the forms menu that will take you to Designer. You might want to try both to see the pros and cons. Be sure to keep such a test simple so you are not wasting time on your final form just for testing. I typically create a 1 page form that has all of the possible fields for such a test.
Similar Messages
-
I need instructions on how to create a button that will email a pdf form to someone else on a websit
I NEED ASSISTANCE CREATING A BUTTON THAT WILL EMAIL A PDF FORM FROM A WEBSITE TO WHOEVER THE VIEWER WANTS TO
Just a bit more info. E-mail can be used, but has potential problems -- often related to the client machine that you have no control over. Use the data submissions (either FDF or XML) rather than the full PDF so you do not have to deal with Reader Rights and the related license issues. The FDF and XML data files are easily imported into the original form so that you see what the client sees. With those aspects in mind, just go ahead and try one. Be aware that you can add form fields using the form tools in the Advanced Editing tools, OR use the forms menu that will take you to Designer. You might want to try both to see the pros and cons. Be sure to keep such a test simple so you are not wasting time on your final form just for testing. I typically create a 1 page form that has all of the possible fields for such a test.
-
For example, there are 10 check boxes and the user selects 5 of those boxes. Then they click a submit button. Just the information from those boxes would be displayed so they can print it. Is this possible? Any help pointing me in the right direction would be appreciated.
That is definitely possible.
Option 1: checkboxes are all named differently.
In the click event for the submit button, add some code like this...
if (cbChoice1 == "1") p2.tfChoice1.presence = "visible";
else p2.tfChoice1.presence = "hidden"; //can use "invisible" if preferred
if (cbChoice2 == "1")...
Option 2: checkboxes are named the same
In the click event for the submit button, add code like this...
var checkboxes = xfa.resolveNodes("cbChoice[*]");
var textfields = xfa.resolveNodes("p2.tfChoice[*]");
for (i=0; i<checkboxes.length; i++){
if( checkboxes.item(i).rawValue == "1") textfields.item(i).presence = "visible";
else textfields.item(i).presence = "hidden"; -
How can I make a button that on press the object appears and on second press the object to disappear
Hello,
I'm quite new to flash programing, and I don't know how can I make a button that will make the object appear and disappear.Till now I have this code for the appear:
on (press)
_root.top1.gotoAndStop(2);
_root.topp.gotoAndStop(2);
_root.mm1.gotoAndStop(2);
_root.m1.gotoAndStop(2);
but from here I'm stuck.
Thank you for your helpWhat you can do is use the _visible property of the object to make it appear and disappear, or more correctly, use the opoosite of the _visible property. You should not put code "on" objects, keep it in the timeline.
If "object" is the instance name of the object you want to toggle, then in the timeline code you can use...
object._visible = false; // start with the object being invisible
yourButtonName.onRelease = function(){
object._visible = !object._visible;
That one line in the function sets the object's _visible property to be the opposite of what it currently is. -
Does anyone know of a VI or how to go about writing one that will prevent the computers clock/time from being disabled while an application is running. The time and date can normally be reset while an application is running by clicking on the time/date in the lower right-hand corner of the computer screen. I have an application that runs over several days and it is critical that the time and date of the computer not be changed. Is there an easy way to lock this out from the user? Note that I am what I consider an advanced beginner in LV.
Thank you,
Chuck
Solved!
Go to Solution.That is not something you can do from LabVIEW, as it is an operating system operation, and it will depend on the operating system that you're using. On Windows you can use a group policy to control this. Please Google on "prevent time and date change in windows".
Also, please try to refrain from stuffing your entire message in the subject block. Keep the subject short, but descriptive enough so it can be understood what you are basically asking. Thanks. -
Just uploaded iso7 , . . .hate it! Can you change background colours? How do you add a new item/activity to the schedule? In notes the font has changed, can I change it back and the link colour is now yellow instead of blue, can I change it? Yellow on white is harder to read. Thanks
Another question. How do you bookmark something. It was so easy before, why did they change it? Can I uninstall it?
-
Revision: 5295
Author: [email protected]
Date: 2009-03-13 08:50:57 -0700 (Fri, 13 Mar 2009)
Log Message:
-add property file that will have the TLF build number in it
Added Paths:
flex/sdk/trunk/in/tlf/tlf.propertiesThats good news.
-
My Theme disappears from the DVD after I burn it on to a disc. I know it's there but my DVD player doesn't "see" it. How do I burn an iDVD that will play the theme?
It sure is. It also plays on my PC using VLC Player. So, I know that it was burned onto the DVD.
-
Can you create a button that will go to multiple key frames?
Hi, I am trying to make a rpg style character select interface. What i am trying to do is very similar to the picture below. How do you create a button like the stats, gear, and supplies that will each show a different image or text depending on which character you choose. If noone have played this marvel facebook game before, if you choose for instance Ironman, then the buttons on the right change to stats, bio, and gear. Each character will show a different bio when the bio button is clicked. Do i create a different screen for each character with the same button layout in the same place? I think i just answered my own question but i want to make sure that is possible. Should each character portrait, stats, bio, and gear be on its own layer and have the buttons go to those specific keyframes? thanks
While you could create a different screen for each, a better way to do this is via some form of database. The buttons cause functions to be executed and the functions utilize data resources based on the selections that are established.
So if you pick a particular character, a variable is a assigned a value that indicates that. That variable is then utilized to extract the data associated with the character and to build the screen elements related to the options for that character. -
How can I creat a control button that will allow the vi to run?
Instead of pressing the run button, I want to creat my own run button that will allow my vi to run.
Any idea?
Thank youFirst you need to set the VI to Run When Opened (VI Properties>Execution). Then you create a front panel Boolean. On the diagram what you need to do is have some sort of idle state where nothing is done until the Boolean is pressed. It could be a separate while loop that doesn't exit until the Boolean is pressed, an Event Structure, or as part of a state machine. Look at the shippings examples Queued Message Handler, New Event Handler, Using Buttons for Options to name just a few.
-
Acrobat 9.0 Std - How do I create a button that will show / hide the menu bar?
In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
Any help would be greatly appreciated - thanks!In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
Any help would be greatly appreciated - thanks! -
How to make a Java application that will change the client box's IP address
HI how to make a Java application( that application would be run on the client ) that will change the client box's IP address ( IP address of itself )
If you can do that through the command line, then use Runtime.getRuntime().exec(...) to execute your command.
-
Can I add a link that will activate the "my notes" function?
I'm creating a book in iBooks Author and would like to hyperlink text that will launch the "my notes" function. Is this possible?
No, sorry - iBooks notes are manual and up to the user to decide, etc.
-
How do I add text message to this email with PDF attachment?
Good day, everyone!
Okay, we have a "z"-version of program RFFOUS_T and some of its include codes. One include code, RFFORIO6, has a form called MAIL_PDF_ADVICE. It is in this form that we are emailing a remittance advice form. The actual form is attached as a PDF file.
Unfortunately, there's no text in the body of the email -- it's just the attachment -- so the users would like us to add a couple basic lines in the body of the email that explain the attachment. I'm pretty new to using this particular FM and emailing the PDF attachment, and I've gotten stuck in my research trying to find out exactly how to do this. I'm guessing this shouldn't be all that difficult, but I'm not finding the right solution. Here's the form:
*& Form mail_pdf_advice
E-mail PDF advice
-->IT_ADVICE PDF form (output from Adobe server)
-->I_PDF_LEN length of PDF advice in bytes
FORM mail_pdf_advice USING it_advice TYPE solix_tab
i_pdf_len TYPE i.
DATA:
lt_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
l_user LIKE soextreci1-receiver,
ls_send_doc LIKE sodocchgi1,
lt_pdf_attach TYPE TABLE OF sopcklsti1 WITH HEADER LINE.
CHECK NOT finaa-intad IS INITIAL.
CHECK finaa-nacha EQ 'I'.
*--- determine E-Mail sender and recipient
IF fsabe-usrnam EQ space.
l_user = sy-uname.
ELSE.
l_user = fsabe-usrnam. "Office-User des Sachbearb.
ENDIF.
lt_receivers-receiver = finaa-intad.
lt_receivers-rec_type = 'U'. "E-mail address
APPEND lt_receivers.
ls_send_doc-obj_descr = itcpo-tdtitle.
lt_pdf_attach-transf_bin = 'X'.
lt_pdf_attach-doc_type = 'PDF'.
lt_pdf_attach-obj_langu = reguh-zspra.
lt_pdf_attach-body_start = 1.
lt_pdf_attach-doc_size = i_pdf_len.
DESCRIBE TABLE it_advice LINES lt_pdf_attach-body_num.
APPEND lt_pdf_attach.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = ls_send_doc
sender_address = l_user
TABLES
packing_list = lt_pdf_attach
contents_hex = it_advice
receivers = lt_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
<error checking code snipped>
Does someone know how to do this? <b><REMOVED BY MODERATOR></b> Thanks so much in advance!
Dave
Message was edited by:
Alvaro Tejada GalindoHi Dave,
Table <b>contents_bin</b> is used to pass attachment file and <b>contents_txt</b> is used to pass mail body contents. You need to declare one more int table to give contents for mail body.
For reference check the code below
ut_message is for message body
and ut_attach is having attachement file.
FORM send_file_as_email_attachment TABLES ut_message
ut_attach
USING uv_email
uv_mtitle
uv_format
uv_filename
uv_attdescription
uv_sender_address
uv_sender_addres_type
CHANGING uc_error
uc_reciever.
DATA: l_error TYPE sy-subrc,
l_reciever TYPE sy-subrc,
l_mtitle LIKE sodocchgi1-obj_descr,
l_email LIKE somlreci1-receiver,
l_format TYPE so_obj_tp ,
l_attdescription TYPE so_obj_nam ,
l_attfilename TYPE so_obj_des ,
l_sender_address LIKE soextreci1-receiver,
l_sender_address_type LIKE soextreci1-adr_typ,
l_receiver LIKE sy-subrc.
DATA: lt_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
lt_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
lt_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
lt_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
lt_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
l_cnt TYPE i,
l_sent_all(1) TYPE c,
lw_doc_data LIKE sodocchgi1.
l_email = uv_email.
l_mtitle = uv_mtitle.
l_format = uv_format.
l_attdescription = uv_attdescription.
l_attfilename = uv_filename.
l_sender_address = uv_sender_address.
l_sender_address_type = uv_sender_addres_type.
Fill the document data.
lw_doc_data-doc_size = 1.
Populate the subject/generic message attributes
lw_doc_data-obj_langu = sy-langu.
lw_doc_data-obj_name = 'SAPRPT'.
lw_doc_data-obj_descr = l_mtitle.
lw_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR lw_doc_data.
READ TABLE ut_attach INDEX l_cnt.
lw_doc_data-doc_size =
( l_cnt - 1 ) * 255 + STRLEN( ut_attach ).
lw_doc_data-obj_langu = sy-langu.
lw_doc_data-obj_name = 'SAPRPT'.
lw_doc_data-obj_descr = l_mtitle.
lw_doc_data-sensitivty = 'F'.
CLEAR lt_attachment.
REFRESH lt_attachment.
lt_attachment[] = ut_attach[].
Describe the body of the message
CLEAR lt_packing_list.
REFRESH lt_packing_list.
lt_packing_list-transf_bin = space.
lt_packing_list-head_start = 1.
lt_packing_list-head_num = 0.
lt_packing_list-body_start = 1.
DESCRIBE TABLE ut_message LINES lt_packing_list-body_num.
lt_packing_list-doc_type = 'RAW'.
APPEND lt_packing_list.
Create attachment notification
lt_packing_list-transf_bin = 'X'.
lt_packing_list-head_start = 1.
lt_packing_list-head_num = 1.
lt_packing_list-body_start = 1.
DESCRIBE TABLE lt_attachment LINES lt_packing_list-body_num.
lt_packing_list-doc_type = l_format.
lt_packing_list-obj_descr = l_attdescription.
lt_packing_list-obj_name = l_attfilename.
lt_packing_list-doc_size = lt_packing_list-body_num * 255.
APPEND lt_packing_list.
Add the recipients email address
CLEAR lt_receivers.
REFRESH lt_receivers.
lt_receivers-receiver = l_email.
lt_receivers-rec_type = 'U'.
lt_receivers-com_type = 'INT'.
lt_receivers-notif_del = 'X'.
lt_receivers-notif_ndel = 'X'.
APPEND lt_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = lw_doc_data
put_in_outbox = 'X'
commit_work = 'X'
IMPORTING
sent_to_all = l_sent_all
TABLES
packing_list = lt_packing_list
contents_bin = lt_attachment
contents_txt = ut_message
receivers = lt_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Message was edited by:
Amit Kumar -
How can I add a menu button that will replay the autoplay startup movie
I want to link from the menu to the autoplay startup movie on the DVD, but I want to do this without having to put the movie on the dvd twice. Can It be done?
John:
Click on the item in the autoplay box and select "Loop slideshow" from the Advanced menu. That will continuously play the slideshow till your manually stop it.
OT
Maybe you are looking for
-
Problem in JNDI Lookup of Deployable Proxy from the logon par file
Hi, I have customized the Logon par file and have a functionality to call a webservice when the Password Reset happens. <b>from the ResetPassword.jsp , SAPMLogonLogic.java is getting called ,and there is a method called performResetPassword().</b> I
-
Message failed in PI: Status code 200 But Error During Response Parsing:
Hi I have integration scenario for sending PO/PO change/Proact from R/3 to SNC, everything was working till yesterday morning and suddenly all messages are failing in SAP PI with below error. We have not done any changes. The strange thing is this is
-
Change in qty of items under COGI
CAN ANYBODY TELL ME HOW TO CONTROL THE CHANGE IN QTY OF ITEM e.g. X MATERIAL IS IN COGI 100 NOS. SO THIS QTY SHOULD NOT BE CHANGED BY ANYONE. THANKS AND REGARDS R SEHGAL
-
Adobe Photoshop Elements Problem with update 9.0.3
Problem with updates Elements 9.0.3 Message title was edited by: Brett N
-
Error 2025/ trying to removeChild()
Hi, I have tried to solve ths problem but without success. I have permit Debugging on so I know it s related to the removeChild(). I currently have four buttons that each call a different addChild() function. Everything works great. However, if I ski