Display popup in Suagrcrm - sugarcrm

When creating a contact , I check by Javascript if that contact already exists.
If it does I am displaying text that "Contact Alreay Exists".
I have displayed an information icon besides the message.
I want to achieve the following :
On hover of that icon it should display the already available contact id and when clicked opens that particular contact in Detail view.

Related

Flutter create a passowrd rules dialog

at the moment i try to revised my password textfield.
I'm adding passwort rules.
For Example the password must allways 8 letters length...
Now i want a dialog for more useful information for the user.
I found in the internet a nice example.
Here the example:
My problem, i don't know how i can create this dialog in flutter.
I found the alertDialog in internet, but the background changes and the dialog close after the user klick on screen.
Here a emxample from AlertDialog:
Anyone have a idea how i can create a dialog like the first example.
The dialog should always visible.
Also if the user klick on screen.
But it should also allow the user to edit the textfield.
Many thx (:
I think the easiest way is to toast when the user clicks on submit button you can show this or you can show in text form field error text so user gets specific text like "Enter your name".

Displaying the wiki content dynamically beside each image

I want to display images of 10 people on my dashboard, when i hover the image dynamically it needs to display a wiki page to the side of each image related to that person, how do i achieve this in tableau?
Here are the steps after you have a dashboard with your people on one of the charts. My example uses the pesticide list from the most recent #makeovermonday.
In your dashboard, drag the web page object in.
Click the option dropdown of that new object and click Add URL Action.
In the popup place the main portion of your wikipedia url in the box and select your people field which will become the dynamic portion of the URL. Mine is pesticides.
Change Run action on to Hover
Now when you hover on your main chart it will update the web page object with the person hovered on. I just hovered on Atrazine in this image
You will probably have to update your people names to make sure they match wikipedia's url.

Add to cart for catalog ad on Facebook

I want to know if my understanding is right.
I want to run catalog ad on Facebook so I have installed the 3 event pixels (view content, add to cart, purchase)
But since there is no separate page for add to cart, I set up in a way that when user click on "add to cart" then, event code "add to cart" will be activated. (When on viewcontent page, I can see 4 pixels (pageview, viewcontent, addtocart, addtowishlist) but add to cart and purchase are shown as red. Then, When I clicked on cart button, After that, add to cart button becomes activated. (pixel helper) enter image description here
So I believe pixel have been installed correctly. But in my product feed Diagnostics in business manager, it shows as something like this.
Is there any way that I can fix the issue?
Thanks!

How to get the Selected Item in Sap.m.table and in List

I am new to SAPUI5 and I just created some applications with sap.m.table and sap.m.list. And now I am totally confused with so many ways of getting the selected items in table and list bonded with JSON Model.
So I would like to know how to :
If I have one table and when user click of any row , it should display the selected row item values in alert or console. (onclick of rowevent in controller)
If I have one table and when user click of any row , it should display only one of the selected row item value in alert or console. for example one of the column is "id" so only show the value of ID in alert.
If I have one List and when user click of any item , it should display the selected item properties in alert or console.
4.If I have one list and when user click of any item, it should display only one of the selected item properties in alert or console. for example one of the property is "title" so only show the value of title in alert.
Regards,
Mayank
It's actually not that difficult, but can be overwhelming when you just start with UI5. The key for grabbing the entry the user has just selected is the selectionChange event. When the user clicks on a line, this event is fired. You can link this event to your own function and when this function is called, you get enough parameters to check which entry the user has clicked on.
The little code snipped below does just that:
onSelectionChange: function(event) {
alert(event.getSource().getSelectedItem().getBindingContext().getObject().Name);
console.log(JSON.stringify(event.getSource().getSelectedItem().getBindingContext().getObject()));
}
The alert shows the name of the line that was selected, while all properties in the line are being printed to the console.
To see this in action, please have a look at this jsbin: http://jsbin.com/dayufor/1/edit?html,output

How do I create an "iframe popup" when I hover over an <a> tag?

Here is the scenario: a User will see a list of company names, each wrapped in an tag. He is able to see dynamic information and as he hover over each name and then make a request.
So Given a list of companies, each wrapped in an tag.
When the cursor hovers over an tag
Then a "pop-up" appears that contains an -based, dynamic content.
Given the pop-up
When the User clicks on the "submit" button in the pop-up
Then the form (based on the framework" is submitted and ajax displays "request succesful"
So, because I am using a php-framework, I'd like to use iframe to contain the form.
Some challenges:
When the cursor is no longer hovering over the tag, the hover disappears. How do I keep it operating?
How do I make it appear in an so I can have full form-submission and POST-ing dynamic values through the URL?
How do the "popup" disappear when the cursor is no longer on either the -tag or the pop-up itself?
Can I do it without loading a bunch of 's onto the page, because the list of companies could be long.
for an example:
http://browseusers.myspace.com/Browse/Browse.aspx hover over one of the link.
jQuery with the clueTip plugin is something I have used for this in the past.