You are viewing limited content. For full access, please sign in.

Question

Question

Requery Part of form

asked on April 15

So, I have a form that has ticket details.

As part of the form, I have a collection of notes which have been added regarding this ticket. 

Everything on the form is keyed off a field named 'tid' (Ticket ID). 

I provide the ticket id as part of the URL, so when the ticket ID updates, everything on the form gets loaded from a sql server database.

I have an add note button which opens a popup to a different form. When that form submits, it sends a message via the windows.onmessage event telling me that the form has been submitted. I then have code which closes the dialog.

Normally, in other situations, I refresh the form completely by calling something like $('.tid input').change(). 

But what I want here is not to refresh the entire page, I only want to refresh the notes, so that the new note shows up in the list.

Is there a way to trigger a refresh on just this collection instead of the entire page?

0 0

Replies

replied on April 15

It sounds like the entire form is tied to one lookup, is that correct?

If i'm understanding right your notes collection can only be refreshed if it is its own lookup, and you would do that by using a .change on whatever triggers that lookup.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.