I am using bootstrap. I understand I can define a modal in the HTML and have it open on top of the page. For instance to enter a new student.
Those are static fields. But suppose I want to edit a student record and instead of going to a new page, I just want to open a model dialog on top of the page? In this case, I can’t use the pre-loaded html on the page, but need to do a search and from that search open the model and fill the fields with the data I intend to edit. This example is exactly what i want to do http://formvalidation.io/examples/loading-saving-data-modal/ <http://formvalidation.io/examples/loading-saving-data-modal/> It’s like when clicking a link. I want to execute a query, put the results in a variable and then open the dialog loading the information in the variables. So like select name from students where rowid=456. <@assign user$name “<@col1>”> Open model dialog and <form> <input type=text name=“name” value=“@@user$name”> <INPUT TYPE=SUBMIT NAME="Submit" VALUE="Submit"> </form> I guess the question is how do I open a model dialog in bootstrap that contains dynamic data according to the link selected. Thanks Mark ---------------------------------------- To unsubscribe from this list, please send an email to [email protected] with "unsubscribe terascript-talk" in the body.
