on 04-21-2009 6:13 AM
Hi,
I have created a simple offline interactive form with 2 text input elements Email and PhoneNumber.
I have created a button on the view. In the action, I have to get the values of the Email and PhoneNumber
How to capture input values from an offline interactive form.
Thanks
Srinivas
hi Srinivas,
For your scenario, you need to create 2 iviews in your Web Dynpro application. One view will be used for uploading the form and the other one for showing the uploaded form.
In first View, place an Upload UI element and bind it with a resource context attribute. Place one button below the Upload element and fire the plug to next view from this button.
Map the resource context attribute between the two views.
In second view you need to embed the IF element and create the required context attributs mapping for fields. Set the pdfMode as usePDF.
Now you can deploy and run your application to see if this works!!
Hope it helps!!
Cheers,
Arafat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arafat,
I followed the how to do document https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-tec... , and it mentioned what you just said. But I couldn't understand your suggestion "In second view you need to embed the IF element and create the required context attributs mapping for fields. Set the pdfMode as usePDF."
In the second view, I have created another interactive form for previewing the offline form.
I am able to preview the offline form. On submit action (submit button is on the view), when I print the context values, I get nulls.
Thanks
Srinivas
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.