You need to sign in to do that
Don't have an account?
Steven Benson
popup text box
Hi,
I am wanting to create a pop up box from my visualforce page, this pop up will give a text box that the user can enter infomation and then save it toa table I have created in the the visualforce page.
any advice on this would be great!
I am wanting to create a pop up box from my visualforce page, this pop up will give a text box that the user can enter infomation and then save it toa table I have created in the the visualforce page.
any advice on this would be great!
Try this link,will help you, change based on your requirement..
https://developer.salesforce.com/forums?id=906F000000097X9IAI
Thank You
All Answers
1. modal popup
http://www.salesforcegeneral.com/salesforce-modal-dialog-box/
2. normal popup
http://www.tehnrd.com/visualforce-pop-up/
Try this link,will help you, change based on your requirement..
https://developer.salesforce.com/forums?id=906F000000097X9IAI
Thank You
I have created the button and the pop up works, I just need to tweek it to make the pop up box a text box
<apex:outputPanel id="popup">
<apex:outputPanel styleClass="customPopup" layout="block" rendered="{!displayPopUp}">
<br/><br/><br/>
<apex:commandButton value="Close" action="{!closePopup}" rerender="popup"/>
</apex:outputPanel>
</apex:outputPanel>
<style type="text/css">
.customPopup{
background-color: white;
border-style: solid;
border-width: 2px;
left: 50%;
padding:10px;
position: absolute;
z-index: 9999;
width: 500px;
margin-left: -250px;
top:100px;
}