I have couple of JSP pages in my application with couple of "input" tags of type "text"
What I observed is, in Chrome, if the text field is in a "form" tag and if there is a form submission and when user comes back to the same page and tries click down arrow, it shows previously entered value. But if there is no form submission, that is page transition happens with AJAX call, chrome is not showing this previously entered value.
But in IE and Firefox it is not the case, I mean it is not showing the previous value that user entered before even with form submission.
My questions are:
1. How Chrome is showing previously entered value only when "input" tag is in "form" and with form submission?
2.Why IE and Firefox is not showing previously entered values. Do I need to do any settings in these browsers to show previuosly entered value?
The feature that you are referring to is Autofill. You can access additional details on it at: http://www.google.com/support/chrome/bin/answer.py?answer=142893
IE: Go to Internet Explorer Menu/Tools/Options/Content/AutoComplete/
click Settings > Check the options that you want.
Firefox:
http://support.mozilla.com/en-US/kb/Form%20autocomplete;
Related
I am stuck at a specific point in coding VBA. Using VBA I am logging onto an Intranet portal which is a file management system and opening a series of dynamic web pages one after the other. Using VBA I am trying to get a checkbox element checked. Once this element is checked, all sub-elements appearing in a table below get checked automatically. After this I need to initiate download of all the selected files. However, I cannot get the checkbox element "checked".
Here is the HTML as it appears on the web-page. I cannot share the link as it is intranet and confidential.
Link to the HTML as I am not allowed to post images yet
Here is my VBA code:
Set inpute = objIE.Document.queryselector("div[id=gridx_Grid_2] div div div table tbody tr td span[aria-checked=false]")
inpute.setAttribute("aria-checked") = True
inpute.Click
When the above code is run, the "aria-selected" attribute changes to "true" in the HTML but Click has no effect on the checkbox.
I have tried using the getElementbyClassName method and using Click after that to no avail.
Please help me out on this issue. Do let me know in case you need any other information.
This solution from Zwenn worked perfectly:
First of all, a checkbox has no click event. On topic: Because the whole List of other checkboxes will be marked by marking the one in question, I'am pretty sure the one in question triggers a HTML event like change when you mark it manually. You must check which event it is and trigger it with VBA. You can look for the event with FireFox or Chrome, but not with the IE. Look here how to do that and how to handle with events:
Automate IE via Excel to fill in a dropdown and continue
– Zwenn 14 hours ago
We are using Custom SignUpSignIn Policy, and on our signUp form we have textbox, dropdown and a checkbox which are all required fields.
When a user does not fill in the necessary details,
for the text box, it is highlighted with red line around the text box and as we enter the text box, it says "This information is required." in red color text on top of the text box which is good.
But for the Dropdown and checkbox, a simple message "Missing required element [Country]" is displayed at the top of the form(not even red color text) and no highlighting on the field. User may not even notice that.
How can I achieve the same behavior as the textbox for dropdown and checkbox?
Thanks,
Wait for the ability to use JavaScript via the "shared domain" feature.
UserVoice item reference.
...as a result of ‘shared domains’ this means that you will be able to start using your tenant as a subdomain of a ‘shared domain’, in the form of {tenant name}.b2clogin.com where b2clogin.com is the ‘shared domain’. You will be able to run Javascript when you are running on this shared domain...
I just want a way for all the required field validation messages to display in Red ...
That you can achieve with custom CSS which you can do today.
But for the Dropdown and checkbox, ... , is displayed at the top of the form
Moving stuff around would require JavaScript.
I am sending an envelope that has some field and the problematic field are this
"tabs":{"TextTabs":[{"TabLabel":"*SSN","Value":"*********"]
"NumberTabs":[{"TabLabel":"*MyNumber","Value":"0000000000"}]
All other fields are working fine that does not have "hide text with asterisk".
Those 2 fields on the docusign site itself "hide text with asterisk" are checked.
And the behaviour of those 2 fields are weird. When the envelope is sent, and I received a url for the docusign, when I open it, those 2 fields are empty (empty box), but when clicked.. it suddenly show the value, and when the box are out of focus then it will hide the text with asterisk.
My question is what should I do, so when docusign open, it was already on asterisk, without the user has to click the box first? Since the value was passed on, so technically the field already has value.
The "masking", similar to the "validation" (regex), is applied by the UI (javascript). Since you are pre-populating, the javascript isn't invoked until the signer interacts with the tab overlay (UI). On click of the textbox, javascript is invoked and then on you see the asterix on the textbox. So functionally, it is hiding the text by being blank value on envelope signing page load.
We have a custom page in our Acumatica to enter Work Orders. The first field on the page is obviously the WO number. I have the WO number on many of the custom reports we have made. I tried to hyperlink to the WO number on one of my reports by changing the NavigateMethod property to Server as I have done for the SO number many times. The WO displays on the report as a hyperlink but clicking on it produces nothing. Right clicking and choosing open in new tab opens a tab for about.blank. What do we have to do so that the WO number will produce the same behavior in the report as, say, the SO number from the Sales Order Entry page?
Sometimes the above solution won't work (most probably if you route to your own custom screen),
I think the proper implementation is using Main.aspx? in the Navigate URL
and no need of Server navigate method
So your navigate URL will be for Standard Acumatica screen (Invoices and Memos-AR301000)
Navigate Method: Client
Navigate URL: 'Main.aspx?ScreenId=AR301000&DocType=INV&RefNbr='+ [ARInvoice.RefNbr]
Target:either main or _blank
follow the same way to compose the URL for custom screens as well
On a TextBox field use the following three properties:
NavigateMethod, NavigateUrl and Target
Here is an example for a PO:
NavigateMethod: Server
NavigateUrl: ='?ScreenId=PO301000&OrderNbr=' + [POOrder.OrderNbr]
Target: _blank
You can craft the NavigateUrl by going to the page you want to redirect to in Acumatica and selecting the key (ex: the WO field). Then you can copy the URL param from the browser URL bar to your report NavigateURL property. Replace hardcoded key with the WO parameter in your report by concatenating it in NavigateUrl formula.
Target is the standard hyperlink target property, '_blank' will open the link in a new page.
Target reference:
https://www.w3schools.com/Jsref/prop_form_target.asp
I have a form, which has a notes and a web sub form. On the web, on click on a button Save, value a field say "Test" must be updated to 1. When I click on save for a form submitted on web side the value of the field gets updated, but when I try to click on save (on web side) for a form originated on the notes side, the value doesn't get updated.
I have used
document.forms[0].TestField.value= "1"