Nav view search

Navigation

Search

Questions and Answers

Ask questions to our user community and staff to get help or tips and tricks
and start getting the most out of your MetaCommunications software.

Keyword
  • Page:
  • 1

TOPIC: programmatically entering Edit mode on form load

programmatically entering Edit mode on form load 04 Jun 2012 16:40 #19358

That just about says it. We're implementing a wizard pattern such that we'd like a newly loaded form to automatically enter edit mode. I assume the PS.Edit() method would get it done, but I'm not sure where to call it. Adding it to global scripts has it being called before the form is loaded.

Help! :-)
  • Mike Ross

Re: programmatically entering Edit mode on form load 05 Jun 2012 08:34 #19359

Hello Mike,

Have you tried using an event listener to execute the PS.Edit call?

Something like:

Form.addEventListener("objectLoaded", EditRecord);

function
EditRecord()
{
PS.Edit()......
}

Someone else on here may have a different idea.

The other thing you might try first is to try executing the PS.Edit call from a button first to make sure you have that sorted out first and then try putting it into a function like the one above. Just a thought.

Justin
  • Justin Bierman
  • Page:
  • 1
Time to create page: 0.24 seconds