• YS1114
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies

Hello,

 

I am working on an e-signature project for my company, which requires some additional user input after uploading a document. Ideally, I would like the user to go through another step following the upload, without using a new form other than the standard Document Upload form.

 

My questions:

1. Is it possible to derive a new form from a standard form (in this case, the one you get when you click the 'New' button while in the 'Documents' tab), retain the functionality but add something to the HTML form (in this case, another inputField and a button).

2. Is it possible to replace the standard controller with a custom one, and associate it with the original Salesforce page - for instance, is it possible to extend the standardController "Document" and use this extension in either the standrd form for the document object, or if the answer to my first question is YES, for this new page.

 

Thanks,

YS

  • October 25, 2009
  • Like
  • 0

Hello,

 

I have this simple VisualForce page:

 

 

<apex:page showHeader="false">
<input type='button' onclick="alert('close');window.close();" value='Close' />
</apex:page>

 

which is opened from another page using window.open(url...).

 

When I click the Close button, the onclick script does run (the alert shows up), but the popup isn't closed. Doing the same without the VisualForce APEX:PAGE tag works as expected.

 

Is there something in the markup added by VisualForce to the page that prevents it from closing? how can it be disabled?

 

Thanks,

YS

  • September 24, 2009
  • Like
  • 0

Hello,

 

I have this simple VisualForce page:

 

 

<apex:page showHeader="false">
<input type='button' onclick="alert('close');window.close();" value='Close' />
</apex:page>

 

which is opened from another page using window.open(url...).

 

When I click the Close button, the onclick script does run (the alert shows up), but the popup isn't closed. Doing the same without the VisualForce APEX:PAGE tag works as expected.

 

Is there something in the markup added by VisualForce to the page that prevents it from closing? how can it be disabled?

 

Thanks,

YS

  • September 24, 2009
  • Like
  • 0