I have four buttons in the form. When I open it in Workspace, how does it determine which button to convert to the Chrome?
Aditya
Views
Replies
Total Likes
Assuming by Chrome you mean the Workspace flash container. It's the button that performs a submission.
Views
Replies
Total Likes
What if there are two buttons doing the submission. For example, the form has one button doing an HTTP Post to a servlet which invokes workflow. And, the second button needs to be used within workspace.
Aditya
Views
Replies
Total Likes
Is there a way to submit using javascript OR specifying the URL using a script. This way the same button to two different URLs with an if statement?
Aditya
Views
Replies
Total Likes
Use a regular button and write the following code on the click event of button:
if(condition)
{
xfa.connectionSet.DataConnectionName.execute(0);
}
if(condition)
{
xfa.connectionSet.DataConnectionName.execute(0);
}
Thanks
Views
Replies
Total Likes
Thanks aks@lc!
How would I call a servlet? I need to submit the form as a PDF to the servlet.
Aditya
Views
Replies
Total Likes
Hi Aditya,
Place a button on your PDF and set teh control type to Submit
On submit panel, set your Servlet URL and change Submit As type to PDF
Nith
Views
Replies
Total Likes
Nith - The form has two submit buttons. I am unable to convert the correct submit button to the flash template.
Button 1 - Submits to the Servlet
Button 2 - Submits to the Workspace server
After the form is submitted (externally) it pops up in Workspace, I want the second button to convert to the flash template but, only the first buttons converts.
Hence, I need to figure out a way to either change the submit URL dynamically (and retain one button) or force the second button to convert.
Aditya
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies