How to get the user name and surname from the cells that contains the user email (Google Apps)? - forms

I collect answers from google forms only froom my own domain, i.e. the users has to be logged in. I coillect their username (xxxx.xxxx#mydomain.com)in a specified column. Which kind of formula can I use to get the user name and surname? It should be possible to do it. (All of the users has username are in the form name.surname#domain.com. Right now I use "text formula" that separates the name and surname. This is a bit problematic because then Swedish name can contain the letters " å, ä and ö"

Related

Restricting giving numbers or special symbols as form name

I need help in restricting entering form names as numbers in forms flow.
when I am checking I can see that I can enter numbers/special symbols as form name. So I thought it is meaningless if I can enter like that. how can I restrict giving numbers/symbols to form name? can I do it in the form design itself?

Don't allow typing characters like: .,:+

I have a Textbox in Powershell and I wondering how to prevent user from typing signs like .,:, key combination like: AAA etc?
I tried with Regex, but I want it to be dynamic - so when user type e.g. . it doesn't appear in TextBox. Probably, the MaskedTextBox can be a solution, but I don't want to specify how many characters user can type e.g. using AA - user can write 2 letters.
My goal is to make typing some signs and letter combination impossible. Do you have any ideas?

sending data from checkbox form to next page as string

I have a list of names that you can tick box to select favourites and then submit the form and it goes to next page to display the short-list.
I need the selected names to send through as .asp?T=Name&Name&Name then only show those artists by using
`strType = Request.QueryString("T")`
with the query
WHEREActNamelike '%"&strtype&"%'
is this possible
The names are originally pulled from a database so generated in loop
how do i do this please?
Thankyou
Michelle
Do not use the & Symbol to separate characters in a querystring. The & symbol is defined as a type of reserved character in urls (See Here http://www.456bereastreet.com/archive/201008/what_characters_are_allowed_unencoded_in_query_strings/).
I would recommend using an underscore as your seperator between values and then using the VBScript Split function to achieve the result you want. See Here for more info on Split: http://www.w3schools.com/vbscript/func_split.asp

Word/Publisher email merge issues

I've been searching for days for an answer to this issue. I'm trying to append an Access field to a base URL to customize each email in my merge like so: http://www.example.com/myItems.asp?ItemID={field}.
I tried several approaches in Word 2007, then gave up and finally tried Publisher after coming across this post - MS Word: Mailmerge hyperlinks with query get URL string with a MERGEFIELD.
In Publisher, I got everything to merge properly including the custom links (according to preview), but when I hit "send email" it wasn't passing the emails to Outlook - said 0 message(s) sent. I tried again, using a blank email template and got it to pass the email, but the email showed field names rather than the merged data.
Coming across this article regarding the field names - http://msgroups.net/microsoft.public.publisher/emailmerge-not-working-in-publishe/213664 - I clicked outside the text box as suggested before sending email but still, the field names show and not the merged data.
I'm super frustrated and exhausted. This shouldn't be this difficult! Any ideas or suggestions would be appreciated.
This shouldn't be this difficult!
I agree. I can't help on the Publisher front, but this link should help for Windows Word.
To summarise, when you insert the HYPERLINK field, do it this way:
Use ctrl-F9 to insert a field code brace pair { }
Type HYPERLINK between the braces
Select the field and update it once (F9)
Do not update this field code again. If you do, Word will always insert the same link text (i.e. the hyperlink target). People working with fields often select F9 quite a lot just to make sure things are up to date, so you have to try not to do that.
If you Alt-F9, you should see that the display text is an error message (starting with "E" in the ENglish language version of Word).
Move the insertion point so it is immediately after the E. Type the display text that you want, or, if you want a variable display text built from text + MERGE fields etc, enter that text and those codes).
Carefully remove the "E" and the other part of the error text.
Use ALt-F9 again to display the HYPERLINK field code. Click after the K, type a space, then enter the following fields and text, assuming your variable text is coming from a MERGE field called fieldname:
"{ SET X 1 }http://www.example.com/myitems.asp?ItemID={ MERGEFIELD fieldname }"
(The SET field is there to stop Word doing something else wrong. If you have more than one HYPERLINK field, you will need to SET a different variable name (X1, X2 etc.) in each HYPERLINK). This is discussed in more detail here - interestingly enough, that question was also about merge to HTML email, but I think you also have to do the additional stuff I mention above to make it all work.

How to prohibit the use of offensive words in usernames during registration

What is the best practice?
Any samples? I did a search and could not find anything.
I am thinking an Xml file with prohibited words which I could check against during registration and also be used elsewhere on the site to check for prohibited words.
The easy and quick way I thought was in the AccountModel.cs file and adding an attribute or use Regex.
Also, I want to prohibit the use of space in the username.
We have 2 lists in our database 1) censored words and 2) censored names.
When validating usernames we first check the censored words, this list could also be used in other areas like forums etc, then a the censored names is an additional list specific to usernames, for instance "admin", "support", "your company name" etc.
I would add these to your existing database rather than an XML file. You can then just build in an inteface to add more words using your eitsing framework.
You can use javascript to prohibit using spaces, we use the jQuery alphanumeric plugin to dissallow spaces and other prohibited characters. You should also validate this server-side.