FMP - Forcing Save of Field Edit - filemaker

I'm working on a FileMaker Pro 10 database. On a particular layout ("license"), there are several fields and a button. When the button is clicked, a certificate (layout) is displayed reflecting the data entered in the license layout.
If I edit a field, then immediately click on the "View Certificate" button, the changes just made to the field do not appear on the certificate. However, if I edit the field, then click on another field, then click "View Certificate," the revised data is displayed on the certificate. Apparently, something about shifting focus to a different field triggers a data save.
How can I force this data save so that any time the user clicks on the button, the resulting certificate reflects the edits they have made?
Thank you,
Ben

In the script that is called on your "View Cerficiate" button, try adding a "Commit Record/Request" script step.

Related

Editable text box on MS Access 2010 - Behavior correct?

I have a continuous form which displays an overview/summary of my data. A user can select a row and click a button I created in the footer to open another form which has all the detail for that particular record and be able to edit it. This works fine. However I would also like for certain fields to be editable from the continuous form. I enabled two fields I would like users to edit directly (One is a combo box selection and the other a text box) When users click the combo box for any record it works fine and they can go back to the same record and select another value if they wish. All great but the text box behaves rather differently - The text box will allow the user to initially enter a value but after entry the box appears disabled and the only way to change the initial data entry is to go into the detail form which still works. Why can't users change the text box from the continuous form after an initial entry?
I found the issue!
There was a conditional filter on that particular field

How to stay on same step of sap.m Wizard?

I have an input validation after pressing the NextStep button in sap.m wizard.
If input validation fails, I have to stay on same step. How can this be done?
I'd recommend taking a look at SAP API Documentation for sap.m.Wizard and sap.m.WizardStep.
For sap.m.Wizard, it states:
Next Step Button
The next step button is displayed below the content. It can be hidden by setting showNextButton to false and displayed, for example, only after the user has filled all mandatory fields.
So depending on the validation routine, the button “Next Step” can be hidden to prevent the user moving to the next step.
There is also an example in SAP Explored.

Setting Widget Focus in Gtkada

I'm trying to create a simple test program in Gtkada to bring up a Dialog box upon leaving a specific textbox. I have managed this part, but am having problems resetting the focus back to the original textbox when the Dialog's 'Ok' button is pressed.
The general idea is that the user enters something into a textbox and when they click/tab out of the box (focus out event), some simple Alphanumeric validation is done. If the validation fails, the user is warned with a Dialog, and focus is returned to the textbox they entered erroneous data into.
All I am after is a simple example of how to set the focus back to a textbox when you close the Dialog box which clicking out of the textbox originally called. In Gtkada... I'm using version 2.2 of Gtkada. I can't change the version of Gtkada, or use a different program or language!
Much obliged!
Tim
The most elegant solution, GUI-wise, is to do the validation on a leave_event on each input field, and if that fails display an error message (in red or some such) next to the field. But do not display a dialog or force the focus to a specific field, that would interfere with what the user is trying to do (imagine: I enter an incorrect email address, press tab, get the dialog which I do not read (like most users), start typing my name for the next field, but since the focus went back to the email address, I have no overridden that one and lost my previous input).
If you still want to grab the focus, Gtk.Widget.Grab_Focus is the procedure you want.

Save and Continue option while editing forms in MediaWiki

I have created a form using the "Create Form" option in MediaWiki with few text areas to fill in by the user. I wanted to enable the option of save and continue wherein a user can save the form after filling it partially, and then continue adding/editing the information.
I used the Extension:Checkpoint to fulfill the same. The extension provides the option when creating/editing a normal page in mediawiki, but not when
Adding new information in a form or
editing old form using "Edit with Form" option
Searched a lot on ways to be able to use the same, but failed. Also tried using the standard input tag: save and continue, but it just creates text, and no button.
Is there a way to get the functionality to work (did I miss something), or implement it in another way?
Thanks in advance.
The Save and Continue option as a matter of fact can be easily implemented without the use of the Extension:Checkpoint.
The standart input tag is defined within mediawiki which provides the user to provide different input options at the end of a page or a form.
The following different tag values are allowed:
"save" (for the "Save page" button)
"preview" (for the "Show preview" button)
"save and continue" (for the "Save and continue" button - this lets users
save the page without leaving the form)
"changes" (for the "Show changes" button)
"summary" (for the "Summary" text field)
"minor edit" (for the "This is a minor edit" checkbox)
"watch" (for the "Watch this page" checkbox)
"cancel" (for the "Cancel" link)
"run query" (for the "Run query" button in query forms)
The save and continue option can be easily used as follows:
{{{standard input|save and continue}}}
at the end of the page where you want the option.
It works as follows:
the button is not activated (appears as normal text) unless you type or change something in the form or page. As soon as you make even a slight change, the button is activated, to function just as every other button.
hence it might look as if the tag didn't work when it actually does. :)
PS: I still can't understand why the extension doesn't work on forms when it was designed keeping in mind the option of 'editing forms'.

selenium: web form submitting

I have this task as a homework for interview - to test the webpage of popular site. Got a pop up form with some text in the fields. The task is to check is there are fields has been changed.
The page constructed that way, doesent matter if the data changed, popup window just closed with no additional text about it. I have no idea how to deal with it. Is there any commands in selenium checking, if the form has been sent?
add1
This is a PopUp changing profile window. It is shown below with my translations as the red font.
It is obvious, when this window opens, some values are already in the textfields (that is ur name/surname that u've entered before).
When u press the save button, this page checks if the data been changed since this window been opened (did u really changed anything).
The html code of "save" button has been shown on the pic2. U can see javaScript listener on the save button. There are somewhere must be a JS code, that checks if the data been changed and sends the form, and canceling the form sending, if there's no changing.
My Goal is to check using selenium, if the form has been sent.