How to populate an elementor form field inside of an elementor popup based off of a button ID on the same page - popup

I'm basically emulating an ecommerce style of page, whereby when a user clicks a button "Get Quote" an elementor form popup opens with some basic fields, including a product "SKU" field.
So on the page I have a few products, with some of their details etc. then below each product I have "Get Quote" button. When I click this button I want the popup to open and the SKU field's of the form's default value set to the Button ID of the product button that was clicked...
Not sure if this makes sense, or if it's possible.

Related

CMS Made Simple Link

I would like to set up links though my site to make it easier to type long urls to external sites, How would I set up CMS Made Simple to link from one internal URL to a exteral one IE mydomain.com/fb to facebook.com/mycompany/ ?
In your (V1.x) admin area, try:
Content > Pages > Add new content
Content type: Redirecting link
Options tab:
Page alias: "fb"
If you don't want it to show in menu untick "Show in menu"
Main tab:
Fill in title and menu
In URL: "facebook.com/mycompany/"
That should do it.
To redirect to an external URL (or even content within your domain that is not managed by CMSMS), you can use the Content Type "Redirecting Link".
Since maidbloke already covered CMSMS 1.x, I'll cover CMSMS 2.x.
Creating the Redirecting Link
Start at the CMSMS admin area's "Home" page (the default page loaded in the admin area).
Under the "Content" item, click the "Content Manager" subitem. You could also, instead, open the "Content" menu on the left by clicking "Content" in the left hand menu, and then click the "Content Manager" subitem.
Click "Add New Content" in the upper left of the Content Manager area.
In the "Main" tab, change the Content Type to "Redirecting Link".
Fill in the "Title" field.
Fill in the "URL" field (something like "https://www.facebook.com/mycompany" without quotes).
Click on the "Navigation" tab.
Fill in the "Menu Text" field.
If you don't want the link to show in your menus, uncheck the "Show in Menu" option.
If you set the "Title" to something other than "fb"...
Click on the "Options" tab.
Fill in the "Alias" field with "fb".
At the top of this page, click the "Submit" button to save your new content.
Now the redirecting link is set up! Next, we'll cover how to use it.
Using the Redirecting Link
There are a few ways you can use it.
Without MicroTiny
If you're not using MicroTiny or some other WYSIWYG editor:
A. You can use raw HTML:
Our Facebook Page
Our Facebook Page
Our Facebook Page
Our Facebook Page
B. You can use the cms_selflink tag:
{cms_selflink page="fb" text="Our Facebook Page"}
You can still use this method from within MicroTiny as well.
With MicroTiny
If you're using MicroTiny:
C. You can insert a CMSMS page link:
Click the "Insert" menu.
Click "Link to CMSMS Page".
Fill out the "Enter Page title" field with the value you used when you created the Redirecting Link (Creating the Redirecting Link, Step 5).
Fill out the "Text to display" field.
Click the "Ok" button.
There is also a button in MicroTiny toolbar that can be used to replace steps 1 and 2.
D. You can insert a regular link:
Click the "Insert" menu.
Click "Insert/edit link".
Fill in the "Url" field, probably with one of the URLs shown in option A.
Fill in the "Text to display" field.
Fill in the "Title" field.
Click the "Ok" button.
There is also a button in MicroTiny toolbar that can be used to replace steps 1 and 2. You could also press the Control and K keys together to insert a regular link.

How to choose radiobutton in popup

In my application , I have to choose radio button value (yes or no) after I click on some button in the popup. when I click on the button , user will be navigated to home page of the application, where the user will be displayed with some message in the popup with yes or no value.I have tried the below code " WebElement radioBtn = driver.findElement(By.id("notifyConfirm"));
radioBtn.click(); "..but since the user is navigate from the child page to parent page, I am not able to click on the value in the popup using id....when I execute the script I am getting below error...."Element is not currently visible and so may not be interacted with

Need to redirect "schedule meeting" under Activities subpanel of Leads detail view page to "Full Form" of schedule meeting

I have to redirect "schedule meeting" under Activities subpanel of Leads list view page to "Full Form" of schedule meeting
I have looked at modules/Leads/metadata/subpaneldefs.php and removed top_buttons array key, but it is removing the buttons. How to make the schedule meeting button redirect to full form of meeting instead of quick meeting?
Also, I have to make id(parent_name) field of "related to" label required.
You have to override the SugarWidgetSubPanelTopScheduleMeetingButton widget class file located at include/generic/SugarWidgets/ because for Activites subpanel Schedule Meeting button calls SubPanelTopScheduleCallButton widget class.
And for making parent_name required.
Go to Admin Panel
then Studio
Select Your Module
Select Fields
Edit parent_name field
Enable Required checkbox
Click on Save button

Requery SubForm after button is clicked on Popup box

I have a navigational Form e.g. MainNavigationForm. It has multiple navigational tabs and one of the tabs have a form e.g. "MainForm". This MainForm have a comboBox where user selects a value. MainForm also has a subform e.g. "SubForm" which is hidden initially. Once user selects something from the comboBox..a Popup form pops up e.g. "PopupForm". User fills in the details on the PopupForm and once the user hits Create button on PopupForm, he should be redirected to MainForm. But this time, the SubForm should be made visible and shown the updated data using requery. So, my question is How can I requery the SubForm from the OnClick event of the Create button which is on the PopupForm??
I hope I am clear in explanation..if not..please ask more..thanks in advance
Got it working..Thanks to SmileyCoder
http://bytes.com/topic/access/answers/907826-how-requery-subform-closing-popup-form
IF your opening your form from code you can simply do:
docmd.OpenForm "frm_Popup",acNormal,,,acFormPropertySettings,acDialog
Me.subFrm.Requery

Creating radio button with text field in install4j

I want to create a form component that contains radio button along with text field for each of the radio button options. The radio button group component in install4j creates a radio button, however there is no option to create a text field along with it. Basically, I want to give an option to the user to allow him to enter either of the 2 values. Is there any other alternative? The value will be entered by the user and hence cannot use combo box. Please help!
You can use a "Single radio button" form component and "Text field" form component and put them into a "Horizontal group".
In the configuration of the "Single radio button" form component, select the "Coupled form component" tabs and select the text field form component. Then the text field will only be enabled is the radio button is selected.
Then, repeat this for each value of the radio button group and make sure that all "Single radio button" form components have the same value in their "Variable name" properties.