sharepoint online – If somebody choose a value from choice field in NewForm, then pop-up window or notification is displayed

Is it possible in SharePoint (I use Classic Experience) to display a notification, when somebody choose particular value from choice field in New Form?

For example, I’ve a choice field in New Form, called “Country” – there is a list of values to choose USA, Europe, Asia.

If someone choose “Asia” then SharePoint display a pop-up or any notification windows about the content “Country is chosen”.

Is it possible with a little coding in JavaScript?

SPCascadeDropdowns not working in custom newForm

My sharepoint site is intended to record customer orders. I have created three lists Regions, Customers and Orders. Customers are assigned to regions and orders are assigned to customers.

My Order list amongst others includes two lookup fields Order Region and Customer Name. Those are lookup fields pointing to the respective fields in the two lists Region and Customers.

My intention is to setup an SPCascadeDropdowns javascript in the Orders list that will filter the customer names based on the selected region.

I need a clean and segmented structure of my NewForm so I can better guide those who will fill out the fields. Therefore I created a custom NewForm via Sharepoint Designer 2013.

My javascript is included via link in the ContentEditor webpart.

Now my issue is that the Cascading script does not work – in combination with the custom NewForm. Once I use the standard NewForm automatically generated by sharepoint the script actually DOES work. So I assume that the issue probably resides in the coding of my custom NewForm.

I just can’t identify the precise error source.

PS: It might be worth noting that my custom NewForm actually DOES recognise scripts which I provide via the Content Editor webpart. My html file that I use to include my javascript code at the same time provides a second javascript (which converts field descriptions into tool-tips). And this latter script is executed perfectly.

So the error source probably is a combination of the cascading function and the way how my custom new form encodes my lookup fields? Or it has to do with the fact that custom forms are coded as DataFormWebparts as opposed to ListFormWebparts? A guess on my side …

Any idea what the problem might be?

Here is my code for the SPCascadeDropdowns script cascading.js.

var myJQ = jQuery.noConflict(true);

myJQ(document).ready(function() {

    relationshipList: "Customers",
    relationshipListParentColumn: "Region",
    relationshipListChildColumn: "Customer_x0020_Name",
    parentColumn: "Order Region",
    childColumn: "Customer Name",
    debug: true

The script is included via html document orderNewForm.html

<script language="javascript" type="text/javascript" src=""></script>

This document is called from within my custom NewForm in the Content Editor webpart

<WebPartPages:ContentEditorWebPart runat="server" __MarkupType="xmlmarkup" WebPart="true" __WebPartId="{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx}" >
<WebPart xmlns:xsd="" xmlns:xsi="" xmlns="">
  <Title>Content Editor</Title>
  <Description>Allows authors to enter rich text content.</Description>
  <Height />
  <Width />
  <DetailLink />
  <HelpLink />
  <PartImageSmall />
  <MissingAssembly>Cannot import this Web Part.</MissingAssembly>
  <IsIncludedFilter />
  <ContentLink xmlns="">/sites/mySite/SiteAssets/scripts/orderNewForm.html</ContentLink>
  <Content xmlns="" />
  <PartStorage xmlns="" />

My form fields are displayed in a DataFormWebpart.

<!-- LIST FIELD: Order Region ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
                        <td width="190px" valign="top" class="ms-formlabel">
                            <H3 class="ms-standardheader">
                                <nobr>Order Region<span class="ms-formvalidation"> *</span>
                        <td width="400px" valign="top" class="ms-formbody">
<!--                            <SharePoint:FormField runat="server" id="ff6{$Pos}" ControlMode="New" FieldName="Order_x0020_Region" __designer:bind="{ddwrt:DataBind('i',concat('ff6',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Order_x0020_Region')}"/>-->
                            <SharePoint:FormField runat="server" id="ff6{$Pos}" ControlMode="New" FieldName="Order_x0020_Region" />
                            <SharePoint:FieldDescription runat="server" id="ff6description{$Pos}" FieldName="Order_x0020_Region" ControlMode="New"/>
                    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

                    <!-- LIST FIELD: Customer Name ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
                        <td width="190px" valign="top" class="ms-formlabel">
                            <H3 class="ms-standardheader">
                                <nobr>Customer Name<span class="ms-formvalidation"> *</span>
                        <td width="400px" valign="top" class="ms-formbody">
                            <!--<SharePoint:FormField runat="server" id="ff7{$Pos}" ControlMode="New" FieldName="Customer_x0020_Name" __designer:bind="{ddwrt:DataBind('i',concat('ff7',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Customer_x0020_Name')}"/>-->
                            <SharePoint:FormField runat="server" id="ff7{$Pos}" ControlMode="New" FieldName="Customer_x0020_Name"/>
                            <SharePoint:FieldDescription runat="server" id="ff7description{$Pos}" FieldName="Customer_x0020_Name" ControlMode="New"/>
                    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

I use jquery 3.6.0 and SPServices 2014.02

SharePoint 2016 On Premise NewForm Error with Designer

I am using SharePoint 2016 On Premises. I am currently unable to use SharePoint Designer to create any custom form (NewForm, EditForm, DispForm). If I try I get the following error (Could not Save the list changes to the server). That is the only error I get, nothing in the SharePoint logs. I have read that this has been removed from SharePoint Online but I am using SharePoint On Premises. Is it possible that this removal has affected my on premise setup? If so how do I get it back? Thanks.

analytic number theory – Ordinary primes for a weak form corresponding to a CM newform

Setup: Let $f$ be a harmonic Maass form of weight $2-k$ ($k in mathbb{N}$), level $N$, and character $chi$. Letting $q := e^{2pi i z}$ and considering the Fourier expansion of any harmonic Maass form in $q$, the differential operator $D := qcdot frac{d}{dq} = frac{1}{2pi i} frac{d}{dz}$ has the property $D^{k-1}(f) in M^{!}_{k}(N, chi)$. Denote $F := D^{k-1}(f)$. It is well-known that the image of the “shadow operator” $xi = xi_{k-1}: f mapsto xi(f) =: g$ belongs to $S_{k}(N, overline{chi})$.

In view of this paper by Ono, If we assume $g in S_{k}(N, chi)$ is a normalized CM newform, what can we say about (non)ordinary primes for the coefficients of $F$? Are there any results determining whether $a_{F}(p)$ is divisible by $p$ or not? Would this depend on the weight (e.g. $k = 2$ or $k > 2$) or level?

sharepoint online – Calculating how long a user spend in NewForm and EditForm using InfoPath Forms

Based on this question:

Calculating how long a user spend in New form and editform.aspx

I am having trouble adding the JSLink to the WebPart of the InfoPath Form. When I go to Edit WebPart, the field for JSLink is not available. I tried added the JS Link to “Script Editor”, however, that does not work either. I am using SP Online with InfoPath Form.

Can someone please guide me how to add a JSLink to a InfoPath Form? I would greatly appreciate it.

Thank you,

refresh – call function after save button is fired in NewForm (opened as Dialog)

I have changed the background colors of some events in a Calendar using javascript. Now, when a user clicks on Add to add a new event and fills in the form in the dialog and clicks save, those colors that I had set in the calendar disappear.
Is there a way to call this method SetColors() after the user clicks Save in the new form and after it is closed so that I can set the colors again? The Save button does a post back.
using presaveaction does not work or even presaveitem. I thought of using a page refresh, but have not come up with a solution yet.

Newform opening blank for a particular SharePoint online list

We are having a list in SharePoint, and for some users what we did is we only gave the Add and View permissions to the users, removing their Edit permissions on the site. So now what is happening is when we login with the same users the new form of a particular list opens blank for that user. The newly changed permissions for the users are working on the other list which I have created recently, means the user is able to view the new form for other list, but it is not working on a particular old list, where we want that user permission to work. We have made the changes for the user permissions on the site level and not on the list level. There are no unique or item level permissions applied on both the lists. Its a strange scenario. Any help would be highly appreciated.

rt.representation theory – A question related to newform and irreducible cuspidal representation og GLn

I was reading adelization of classical automorphic forms and learnt there each each cusp form correspond to a automorphic representation of $GL_n(A_mathbb{Q})$. I understood the proof. But then I found a statement like that there is a one-to-one correspondance between newforms of the congruence subgroup $Gamma_1(N)$ and the irreducible cuspidal representations of $GL_n(A_mathbb{Q})$.

But I couldn’t find any proof of it.
Please suggest some references.

Thank you.