Jump to content

nested Forms alternative


jugnoo_jee

Recommended Posts

Hi guys, I am developing a small ticket system, at one point client wants to add multiple comments along with types before completing a ticket. for example there is one form has some necessary info time of call, ticket title, ticket status and at the end submit/update button but client need to add comment box so he/she can add comments by click add button and in bottom show the all comment of this particular ticket, remember add button won't effect on submit/update button. I've separate comment, and comment type tables, where I can store comments with ticket foreign key, I know I can't use nested html forms, any other idea or solution, any help would be appreciated Thanks 

Link to comment
https://forums.phpfreaks.com/topic/154926-nested-forms-alternative/
Share on other sites

where are your input fields for the comments?

 

if it were me, i would probably make a Modal Dialog, where the HTML for it was after the main form. then, have a button in the main form called Add Comment, that uses JavaScript to show the modal dialog for the comment

where are your input fields for the comments?

 

if it were me, i would probably make a Modal Dialog, where the HTML for it was after the main form. then, have a button in the main form called Add Comment, that uses JavaScript to show the modal dialog for the comment

 

but How I will reference ticket id  to the comments,

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.