Jump to content

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,

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.