cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Submit button

sankar_narayana
Active Participant
0 Kudos

I have a problem with Submit button.

1. I kept a submit button (What properties i need to give)

2. I have created action and assigned to Interactive Form properties -action.

But ultimately action is not fired when i kept submit button.Is there anything extra i need to do.

Can i know what i need to do if i need to keep submit button and it should take me to next screen.

Helpful answer can be rewarded.

Accepted Solutions (0)

Answers (2)

Answers (2)

sankar_narayana
Active Participant
0 Kudos

My problem is solved.I took a button from Webdynpro-Native-X and made the form display type:Native.

Now its working but i have another question that i have posted.I.e after clicking on Submit i need to check the fields which are empty and i need to raise an alert message.

Former Member
0 Kudos

Hi,

Place this code above the code which is used for Submit.

if (field_name.rawValue==null || field_name.rawValue=="")

{

xfa.host.messageBox("alert_message");

}

thanks

Gopal

Former Member
0 Kudos

Hi Sankar,

For trigerring action from a submit button in Interactive form, you need to use the Submit to SAP button and the method linked to Interactive form UI element's submit action will be triggered.

Probably you need to have ACF installed on your machine for this.

Regards,

Arafat

sankar_narayana
Active Participant
0 Kudos

Hi,

I could not find "Submit to SAP" button. I have kept "Button" field. Iam currently using Adobe Live Cycle Designer8.0. ACF is installed.

These are types of buttons available.

1. Button

2.Email Submit Button

3.HTTP Submit Button

4.Print Button

5.Reset Button

Where do it get "Submit to SAP" button in the Library fields

Former Member
0 Kudos

Hi Sankar,

Please use Submit button available under Webdynpro ActiveX controls in Lifecycle designer.

On click of the button event you would find the below code:

app.eval("event.target.SAPSubmit();");

This invoked the Interactive form Submit method.

Regards,

Arafat

sankar_narayana
Active Participant
0 Kudos

Hi,

I have placed the Submit button what you have said and i have created action Submit in the view and i have assigned the action to the Interactive Form and in the action method iam retrieving a message also,but still the action is not firing.

For Submit button I have given these properties:

Submit: Regular

Former Member
0 Kudos

Sankar,

Do one more thing... place a new Check Fields button from WDP Activex in your form and map the view method to the onCheck property of Interactive form element. Try printing a message in the view method.

Hope it works....

Regards,

Arafat

Former Member
0 Kudos

Hi Sankar,

Please close the thread by marking as answered if your issue is resolved.

Regards,

Arafat

sankar_narayana
Active Participant
0 Kudos

Hi,

I tried in many ways but still the action is not fired.Y it is behaving like that is a big mess for us.

My issue is not yet been resolved,Iam working on another issue after that is completed again i will come back and solve this issue.

I would like to ask another point is weather we can keep two actions in the same adobe form

For Example: ACCEPT & REJECT.

Former Member
0 Kudos

Hi

Try with WDP Native s Submit to SAP button

yeah you can any number of submit buttons linked to a single action but, you have to find out in webdyn pro, which button is being clicked and perform the actions accordingly.

Thanks,

Gopal

sankar_narayana
Active Participant
0 Kudos

Still the problem persists for me. Can anyonce help on this.

I have a doubt that i have taken "Submit" from the 'Webdynpro-NativeX s'

I have created an action in the view

I have mapped Submit action in the "Interactive Form" properties.

How could both be mapped that for this button action should be there

Former Member
0 Kudos

Please see if the button is kept in the body page.

Thanks and Regards,

Antony

Former Member
0 Kudos

Hi,

You can find some coding when you drag the place the button the form, that helps...

Please check the the displayType property, if your using native button the displayType should be of Native

Thanks

Gopal