Add PayPal Button to basic form on submit?
I have a page at http://www.canlaw.com/domains/post.html which permits people to pay by paypal
But I do not see how to combine paypal with a simple submit button when filling out a form
Suggestions?
Thanks
Kirby
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
If ((pVal.FormType = 721 And pVal.EventType <> SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD) And (pVal.Before_Action = True)) Then
oOrderForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
If ((pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD) And (pVal.Before_Action = True)) Then
oItem = oOrderForm.Items.Add("Explain2", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
oItem.Left = 5
oItem.Top = 95
oItem.Width = 100
oStatic = oItem.Specific
oStatic.Caption = "Doc NO"
If pVal.FormType = "721" And pVal.ItemUID = "Explain2" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And pVal.Before_Action = False Then
'your code
end if
end if
Similar Messages
-
Tried to add paypal button, does not work, I get this:
http://tinypic.com/r/15nltw3/7
Code is this:
Version:1.0 StartHTML:0000000169 EndHTML:0000003834 StartFragment:0000002908 EndFragment:0000003798 SourceURL:file://localhost/Users/ken/Desktop/paypal%20code.doc
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="GAMXAKUND9AME">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
I paste it right into code view after a paragraph break, so I'm puzzled.
did what paypal said to do. thanks:
https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/howto_html_pa sting_html_dreamweaverWhat's all this in your code??
Version:1.0 StartHTML:0000000169 EndHTML:0000003834 StartFragment:0000002908 EndFragment:0000003798 SourceURL:file://localhost/Users/ken/Desktop/paypal%20code.doc
Code Validation Tools
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/
Are you previewing page in browser?
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
How to add "Add Attachments" button to PDF form in Acrobat?
Hi,
I am using Adobe Acrobat X Standard for creating a PDF form. I want to add an "Add Attachments" button to my form. Is it possible to do it in Acrobat? If so could someone please help me with the javascript? Also, if possible I would like to check the total attachment size and inform the user if it exceeds, say 10MB. The user will be submitting the form via email so I want to cap the attachment size.
I found this example, but I don't know how to view the javascript used: http://forums.adobe.com/message/3991644
Your help would be appreciated.
Thanks,
S.PPlease keep the conversation in one topic. It's impossible to do what you want with Acrobat so I'm locking this thread - please wait for a response to your question in the LiveCycle forum.
-
Add row button on tabular form works from time to time
Hi!
we have two environments (dev & prod) with 10gR2 and APEX 3.2.1.00.12 (installed from one and only setup file)
we have developed application on dev and moved it to prod,
and on prod it was discovered that - from time to time (not always) -
when you press 'add row' button on tabular form,
tabular form does not display new record on the page,
if number of records exceeds number of records allowed to show
(i.e. with 10 records maximum it works fine when you add records from 1 to 10 and can't add record 11)
but - interestingly - increases number of rows in pagination by 1
(e.g. "rows 10-20 of 35" changes to "rows 10-20 of 36").
on dev this tabular form works correctly.
what is it and how to heal it?..
I recall I had same issue in prior releases (3.0 - 3.1), is it known issue?It seems to be true:
- if there is ascending order on columns which fields are null in new line (have no default value), new row is visible in current "pagination" page
- but if there is DEScending order OR ANY sort order is set on columns which fields are NOT null in new line (have default value), new row is NOT visible in current "pagination" page
thank you! -
Add a Document upload button to a form?
Hello,
Does anyone know if I can add a button to a form that will allow the user to upload a document? Might sound crazy but it would be nice. I have a form I created with questions that would be answered in a paragraph form. This in some cases will require the user to submit another document with the form he is answering the question to. I'm thinking it couldnt happen but you just never know...... :-)
Thanks a bunch in advance.No, you would have to create your own.
Randy -
How to use add row button of a tabuler form.
Hi all,
I have created a Tabuler form in my application.Could you please tell me 'How can i use the add row button of this form' as When i click the button "NOTHING HAPPENS".
Thanks
Regards,
NehaHi,
If you edit the button, the button name has to be 'ADD'. You can make the text / label whatever you like. On the form edit page, the button should appear with this text next to it: submit as "ADD".
HTH -
Hello,
Can anyone tell me if it is possible to add an "action" in the Forms Central "submit enabled" button to close the document after submitting.
Thanks.
Eric.Sorry this is not something FormsCentral supports. You have to manually close the form yourself.
Gen -
Trying to re-add UPDATE and DELETE default buttons to a form
I created a maintenance form by copying a form I use for inserting rows into a table. I deleted most of the form's default buttons.
Now I'm trying to add the UPDATE and DELETE buttons to the cloned maintenance form, with no luck. When I look at the source
for another maintenance form, the update button shows the following code:
<INPUT TYPE="BUTTON" NAME="FORM_TEST1_MAINTENANCE.DEFAULT.UPDATE_TOP.01" VALUE="Update" onClick="if (validateWWVM281(this.form)) do_event(this.form,this.name,1,'ON_CLICK','');">
The newly inserted UPDATE button's code is:
<INPUT TYPE="BUTTON" NAME="FORM_TEST2_MAINTENANCE.DEFAULT.UPDATE_TOP.01" VALUE="Update" onClick=" do_event(this.form,this.name,1,'ON_CLICK','');">
So...... I added the code "if (validateWWVM281(this.form))" (no quotes) to the button's ONCLICK area. The source code for the form now looks like this:
<INPUT TYPE="BUTTON" NAME="FORM_TEST2_MAINTENANCE.DEFAULT.UPDATE_TOP.01" VALUE="Update" onClick="if (validateWWVM281(this.form)); do_event(this.form,this.name,1,'ON_CLICK','');">
Note the semicolon after the IF statement.
Bottom line.... if I wish to add a button to a form to replicate teh functions of a default button, how do I do this?In the PL/SQL Button Event Handler for UPDATE button select 'Update' and write the following code:
doupdate;
and for DELETE button select 'Delete' and write
dodelete;
You don't need any code in the OnClick for these buttons.
Hope this helps.
-Krishnamurthy -
Hello,
I have Paypal code that allows me to sell 3 books, listed on one menu, all for the s.ame price, $17
I need to add another book that costs $22.
Please, can someone help me with the code?
Thanks
AlidaIf the block of code for the paypal button is basicly unreadable, then it is encrypted and you need create the button in the PayPal account. If you go to the account, you will see that it's all pretty intuitive. Then copy/paste the code PayPal generates into your web page in code view.
If the button code is readable, then you can create a new button just by changing the obvious values, such as
<input type="hidden" name="amount" value="22.00"/> for the amount.
. . . or, you can also create a non-encrypted button in PayPal, just like an encrypted button, and paste the code into your page (in code view of course). -
Using Contribute CS5 to edit site created w/Dreamweaver - PayPal button size issues
I'm using Adobe Contribute CS5 to edit my web site that was built with Dreamweaver on a Mac. I have a PC with Windows XP, 1G of ram, a 40G hard drive (used only for programs and operating system) a 1 terabyte external hard drive for all files, etc. I use MSN Explorer for my browser.
I have done extensive editing and everything works fine except for when I edit or add PayPal buttons. The site was built using "tables" for most everything as well as all of my price lists. When I add a button or edit button properties, that row of cells doubles in height, in the "editing window" they look okay but when I publish the page they take on the doubled height.
I contacted Contribute tech support and they say Contribute is working properly and the problem is with how the button code was written in Dreamweaver. The tech said even though the button looks like it is the proper size, the code tells it to take up more space thus giving me the cell height problem. My standard price lists do not have any lines defining rows and columns but on one page I have been experimenting with I have given the table a line value of 1 to enable me to see what is going on, you can view this page at; http://www.hopscrimshaw.com/birds/owls1.htm
My Webmaster and I parted ways a few years ago so seeking help there is not an option, she won't return phone calls, reply to e-mails, etc.
Any help solving this problem would be very much appreciated.
Thanks, PapaHopI am also having this problem and any answer would be greatly appreciated. The code <p style="margin-top: 0; margin-bottom: 0;"> </p> gets added whenever text edits are made. This seems to create spaces on the page which pushes content out of alignment. The code gets put into the navigation, the text and anything above the text being edited, jpeg sliders, images, etc.
-
Add page button throwing error
I have a "add page" button on my form that is suppose to create a new instance of both page 3 and page 5.
I got it working in two different fashions:
FormCalc
Page3.instanceManager.addInstance(1);
Page5.instanceManager.addInstance(1);
Javascript
Page3.instanceManager.addInstance(true);
Page5.instanceManager.addInstance(true);
In both cases a new instance of page 3 & 5 are added to the form and everything functions as expected.
The problem is that right when the button is pressed I get an error message
It appears to me that it is trying to set the value of 'initial' which is a child element of 'occur' which I assume has not been initialized but I am having a heck of a time figuring out how to peroperly do it.
Thanks in advance for any help.pguerett found the answer.
Both my pages contained tables that were set to have 18 rows each. The problem stemmed from the first page, whose table was defined to have a min rows of 18, a max rows of 18 and an initial row count of 18. By unchecking the initial rows and leaving just the min and max everything is working great.
Thanks pguerett -
Can you add a button to a query screen ?
Hi
I am working on SP01 PL36, my customer would like me to add an email button to a query screen and create an email based on the email addresses in the query
I am fine creating the email but I can't seem to detect when the screen is being loaded so I can add a button to it
Is it possible ?
Thanks
Regards Andy
Regards AndyPaul,
To Add a Button to a form you would need to write SDK code. This involved coding using the SDK tools.
Please refer your question to the SDK Forum to get details on how to go about this.
Suda -
How to remove submit buttons on workspace and use submit buttons on PDF instead?
I am working with LiveCycle ES2. I will get submit buttons automatically render on workspace according to routes i designed after User component. However, I do not want that submit buttons on Flex. I would like to use submit buttons on PDF as designing in LiveCycle Designer.
Could you please give a suggestion on this?
MacYou would also want to ensure that the Adobe LiveCycle Form Bridge is not on the form.
Here are some scenarios, from the Workbench help, which may help:
If your process uses Adobe XML forms (XDP files), you can render the form to PDF and then use the Inject Form Bridge operation. To render to PDF, you use the renderPDFForm operation that the Forms service provides.
Workspace ES provides a Complete button that users click to submit their forms. However, forms can also include submit buttons. When the Inject Form Bridge operation is used on a form, Workspace ES either hides the submit button, or disables the Complete button.
Form design
Result
Design: The form includes no submit button.
Result: Workspace ES disables the Complete button and users cannot submit the form.
Design: The form includes one submit button.
Result? Workspace ES hides the submit button and enables the Workspace ES Complete button.
Design: The form includes a button (indirect submit) that points to a submit button (direct submit)
Indirect-submit buttons always take precedence over direct-submit buttons, even if multiple submit buttons exist. Workspace ES always shows the indirect submit buttons.
Result: Workspace ES hides the submit button and enables the Workspace ES Complete button.
Design: The form includes multiple indirect-submit buttons that point to one or more direct-submit buttons.
Results: Workspace ES disables the Workspace ES Complete button. The user must click the appropriate button on the form to submit it.
The user can still save a draft version of the form or take the form offline
Design: The form includes either an indirect- or direct-submit button in a repeating subform.
Result: Workspace ES excludes these buttons for submitting the form in Workspace ES.
Note: When the submit button that was added to the form design with the Process Fields form object to the form design is hidden, the button still provides the functionality for submitting the form.
Submit requests are handled by Workspace ES, which acts as an intermediary between the LiveCycle ES server and the form. Also, forms can be used both offline and online.
Hope that helps. -
How do i add a submit button to a form
ho do i add a submit button to a form.
Hi;
If you are using the FormsCenral website to create a form it will have a submit button by default for the HTML (web) form and also by default it you are saving as PDF (there is an option to create a PDF without Submit, but by default it does submit to FormsCentral).
If you are using the FormsCentral desktop application that is bundled with Acrobat XI you would have to sign into the service to create forms with Submit buttons. You can also create a form without submit button in FormsCentral Desktop and then edit the form in Acrobat XI adding a submit button using your preferred submit method such as by email.
Let me know if you need more information on either of these, it will be easier to assist knowing more about what you are using.
Thanks,
Josh
PS - if this is a question about adding a submit button in Acrobat not related to FormsCentral your question would be best asked in http://forums.adobe.com/community/acrobat -
How to add multiple records in table thru form via Submit button
Hi all
i have small requirement as follows.
i have a view in which i have 3 UI elements one is webdynpro form,Table UI element and third one is submit button.
now at runtime when i will enter the details in the form and click on the submit button then those record details has been stored in Table. then next time again when i submit the form with details then the table contains all records of current and existing ...so table has to maintain mutile records thru form via submit form..
i need sample code on the same.
points are always rewardable
Thanks
SunilHi,
Create one context attribute and map it to the Inputfiled and one submit button, create a node with a valueattribute map it to a Table and in onActionsubmit write this code
public void onActionsubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionsubmit(ServerEvent)
String str=wdContext.currentContextElement().getInputfiledattribute();
IPrivateTableformView.ITablenodeNode node=wdContext.nodeTablenode();
IPrivateTableformView.ITablenodeElement ele=node.createTablenodeElement();
ele.setNodeattribute(str);
node.addElement(ele);
//@@end
thanx,
ramani.p
Maybe you are looking for
-
Custom Report with 3 Header lines and three separate detail lines
Need help in creating a report: Objectives - break on hidden first field with a horizontal line for the separator (no summing) Expand/collapse detail lines with resetting pagination for that page based on this action. (1-15 select list) Header 1 Head
-
Need help migrating 2006 Macbook Pro to 2012 Macbook Pro
Hi -- The screen on my 2006 Macbook Pro (running 10.9.2) completely stopped working last weekend. It doesn't light up at all. I've tried everything under the sun to get it functioning again but I believe it is just totally dead. I tried plugging an e
-
After placing a new text box in my document, typing new text, clicking away, then coming back to edit the text, I am unable to get my cursor to reappear within that text box. I can only select the box itself. I cannot select the text. Where is my cur
-
How to handle screen resolution in session method
how to handle screen resolution in session method without bdc_insert .
-
Why can I receive but not send mail?
Why can I receive but not send mail?