The title, first name, the name of the fields in the form database

The field current which is title, first name and family name, which is provided in British Colombia to form building is no longer relevant to the business practices of today, in addition to the fields where you fill out, the more people will not.

We could continue with the simple name, E-mail address, we actually want to try to capture the name in itself, like this time in the children of the WORLD to every person - dear {FirstName}.

I know the title seems to be mandatory, it is not actually and you can easily remove the html code

My question is: can I just get out the Javascript for name verification procedure

Currently, BC have this

<! [CDATA]

var submitcount87552 = 0; function checkWholeForm87552 (theForm) {var why = ""; if (theForm.FirstName) why += isEmpty (theForm.FirstName.value, "Name");} If (theForm.LastName) why += isEmpty (theForm.LastName.value, "Last name"); If (theForm.EmailAddress) why += checkEmail (theForm.EmailAddress.value); If (why! = "") {alert (why);} return false ;} If (submitcount87552 == 0) {submitcount87552 ++; theForm.submit (); return false ;}; else {alert ("the form submission is in course."); return false ;}}}}

[]] >

If I remove this article-

If (theForm.LastName) why += isEmpty (theForm.LastName.value, "Last name");

Will this work or is it a problem

<! [CDATA]

var submitcount87552 = 0; function checkWholeForm87552 (theForm) {var why = ""; if (theForm.FirstName) why += isEmpty (theForm.FirstName.value, "Name");} If (theForm.EmailAddress) why += checkEmail (theForm.EmailAddress.value); If (why! = "") {alert (why);} return false ;} If (submitcount87552 == 0) {submitcount87552 ++; theForm.submit (); return false ;}; else {alert ("the form submission is in course."); return false ;}}}}

[]] >

Hello

Could you please check the following link,

Customization of Web Forms

Check under "Combining the first and last name in a name", you should get an idea about it.

Let me know if you have any question.

Tags: Business Catalyst

Similar Questions

  • connection to the forms database

    Hello

    Is it possible to connect to a database through forms?
    I'm working on forms 6i and 10g db.

    My requirement is like this.
    I am developing a software, which has two types of users
    (1) Admin and
    (2) normal user

    If the user logs on the system as an administrator.
    then I need to connect that user to the database 'pay' with username "admin" and "admin" pswd

    If the user logs on as a Normal user,.
    then he must connect to the same database 'pay' username 'nuser' and pswd "nuser.

    Is this possible? How can it be done?

    You can use the built-in forms of logon to change the database connection. But before using the connection always use LOGOUT. Because the form is already connected. For ex

    LOGOUT;
    LOGON(...);
    

    See Form Builder Help.

    -Clément

    Published by: Hannah on May 2, 2010 11:05

  • How to change the Outlook Express contacts to first name last name

    Original title: Organize Contacts

    My Outlook Express contacts were transferred to the new computer but now read by first name.  How can I change to name? Thank you.

    Hi Kathleen,.

    Please refer to this link:

    How to sort by last name addresses in Outlook Express

    http://support.Microsoft.com/kb/282253/en-us

    Please let us know if you have any questions on the issues related to Windows.

  • quick way to define the family first name

    It is possible to select all the contacts whose first name first and change their surname first?

    This option is grayed out when I select more than one contact.

    A kind of macro, maybe?

    Thankd

    b

    If you go to Contacts > Preferences > general, you do not see this option?

    MtD

  • 'My card' when contact is not me, and it won't let me change it or delete the info. for the person mentioned (which is having the same first name as I do). Any ideas?

    'My card' when contact is not me, and it won't let me change it or delete the info. for the person mentioned (which is having the same first name as I do). Any ideas?

    iPhone OS 9.2 6.

    I already tried to delete information about the person identified as "my card". Because the phone think it is 'my card' delete the contact and/or modify the information. does not work.

    Create a new contact with your correct information, who like 'My card' to:

    Settings > Mail, Contacts, calendars > Contacts > my info

  • BlackBerry Smartphones do how do you import Contacts appear in the order first name, last name

    I just got the 9530 as a gift.  I spent several hours trying to import my Microsoft Outlook contacts into the Blackberry.  I am running Outlook 2007 and the contacts are in the order first name, last name.  I tried syncing with Outlook and import an ASCII file, buy the contacts on the upcoming Blackberry Dungeon in the first name, last order.  Help!

    molawrence wrote:
    I just got the 9530 as a gift.  I spent several hours trying to import my Microsoft Outlook contacts into the Blackberry.  I am running Outlook 2007 and the contacts are in the order first name, last name.  I tried syncing with Outlook and import an ASCII file, buy the contacts on the upcoming Blackberry Dungeon in the first name, last order.  Help!

    Change the display options for contacts

    You can change the appearance of your contacts in all applications, including the phone, list of messages, contacts, and calendar.
    1. in the terminal options, click language.
    2. change the name field.
    3. press the Menu key.
    4. click on save.

    Good luck and welcome to the community!

    Jamie

  • People app - how to show first name first in the list

    My people list to Outlook in a browser lists regularly my contacts last name, then first name such as: "Jones, Bob".

    My people on my pro Surface application does not seem to me to show the contacts in this way. Settings > options will allow me to order the list of contacts by last name, but I can't seem to find a way to also show the surname first as my site outlook.com.

    What makes it so difficult find names on long lists.

    Can you help me solve this problem?

    Thank you!

    Hello

    Sorry, you can't make you show first.  You can order by as the name that you have found, but it will not appear first.  Don't forget to send your comments from the application (open the settings pane to do) to request this feature to add.

    In the meantime, you can always use your apps from more familiar contacts list, that you have used before you have Windows 8.  Maybe it's Outlook or something else, but what you used before will still work now.

  • How to create the ADC for first name

    Hello

    I have the situation here, I need display the default in the e-mail (Dear) when the value in the first name field is less than 2 characters long or it is empty. Otherwise, I need to insert the value of the field name (Dear John).

    Please let me know how to create an ADC for this.

    Thank you

    Rama

    Use wildcards for searching.

    ? = any 1 character

    * = 0 or any number of characters

    In order to find people with more than 2 characters in this area?: *

    Then, build your default rule to merge the content in case they encounter more rule of character 2.

  • I would like to change the name in my profile my name and my company name, so when my clients receive a signature on the Forms application, my company name is displayed in the email as opposed to my first and last name. How can I change

    I would like to change the name in my profile my name and my company name, so when my clients receive a signature on the Forms application, my company name is displayed in the email as opposed to my first and last name. How can I change this? I tried to edit my profile however my first and last name are not editable fields.

    Hello Laurag92400722,

    You connect with Adobe ID account E-Sign? If Yes, then you can directly connect to your Adobe ID account and can update the name as the name of the company and it will reflect in your E-Sign account as well.

    -Usman

  • Need space between the first name and family name

    Hi, I use Concat to join the first and last name, but I need a space between the two...

    Hello

    Try this concat (concat ('users'. "First name",""), 'Users' '. "" Family name")

    Kind regards
    Young

  • Concatenate the initials of last names, first and middle initials of the name of a field.

    Hi all

    Nice day. Please, I have a written script problem in cocatenate the first letter of the last name, first letter of the first name and the other initial for a name field.

    Is there an example that I can use.

    Thank you

    v/r

    Tammy

    Tammy,

    Could you please an example miss - name?

    I assumed that miss him - name is "Mathew Easow Jacob"

    Try script on field Miss initial below.

    var names = Rater_Name.rawValue.split("");

    initials of var ="";

    for (i = 0; i

    initials = initials + names [i] .charAt (0);

    }

    this.rawValue = original;

    Here is the screenshot.

    Let me know if you need more information.

    Sofiane

  • Extract the first name and last names of a string

    Hello people,
    I am trying to extract the last name, first name, first name and initial of some names of students for a report. I have some success with the first name and the first names, but have some difficulty to come with the other two. I use Oracle 9i and would like to come with the SQL.

    Script to create the table:
    create table grad_student_tb
    (student_id varchar2(3) primary key,
     salutation varchar2(4),
     student_name   varchar2(60));
    Script to insert records into the table:
    Insert into GRAD_STUDENT_TB (STUDENT_ID,SALUTATION,STUDENT_NAME) values ('001','Mr','Adams,Robert Murphy');
    Insert into GRAD_STUDENT_TB (STUDENT_ID,SALUTATION,STUDENT_NAME) values ('002','Mr','Green,Eric Craig');
    Insert into GRAD_STUDENT_TB (STUDENT_ID,SALUTATION,STUDENT_NAME) values ('003','Miss','Brown,Jennifer William H');
    Insert into GRAD_STUDENT_TB (STUDENT_ID,SALUTATION,STUDENT_NAME) values ('004','Mr','Adams,Michael William H');
    Insert into GRAD_STUDENT_TB (STUDENT_ID,SALUTATION,STUDENT_NAME) values ('005','Miss','White,Snow');
    Here's what I would like on my report:
    Student ID   First Middle Name    Last Name   First Name   Initial
    ==================================================================
    001          Robert Murphy        Adams       Robert       M
    002          Eric Craig           Green       Eric         C
    003          Jennifer William H   Brown       Jennifer     W
    004          Michael William H    Adams       Michael      W
    005          Snow                 White       Snow
    Currently my SQL looks like this:
    select student_id,
           SUBSTR(student_name, INSTR(student_name,',')+1, LENGTH(student_name)) first_middle_name,
           SUBSTR(student_name,1, INSTR(student_name,',')-1) last_name
    from   grad_student_tb;
    Output:
    STUDENT_ID FIRST_MIDDLE_NAME                                            LAST_NAME                                                    
    ---------- ------------------------------------------------------------ ------------------------------------------------------------ 
    001        Robert Murphy                                                Adams                                                        
    002        Eric Craig                                                   Green                                                        
    003        Jennifer William H                                           Brown                                                        
    I need to come up with the first name and initial of the students.

    Any help is greatly appreciated!

    Thank you

    Published by: Roxyrollers on August 18, 2011 12:53

    Assuming that each name is exactly the same format

    SQL> ed
    Wrote file afiedt.buf
    
      1  select student_id,
      2         SUBSTR(student_name,
      3                INSTR(student_name,',')+1,
      4                LENGTH(student_name)-INSTR(student_name,' ')) first_name,
      5         SUBSTR(student_name,
      6                INSTR(student_name,' ')+1) middle_name,
      7         SUBSTR(student_name,
      8                INSTR(student_name,' ')+1,
      9                1) middle_initial,
     10         SUBSTR(student_name,1, INSTR(student_name,',')-1) last_name
     11* from   grad_student_tb
    SQL> /
    
    STU FIRST_NAME      MIDDLE_NAME          MIDDL LAST_NAME
    --- --------------- -------------------- ----- ---------------
    001 Robert          Murphy               M     Adams
    002 Eric            Craig                C     Green
    003 Jennifer        William H            W     Brown
    

    In general, of course, analysis names as it is much more complicated because you have to deal with the family as "la Hoya" names that contain spaces and cannot easily be distinguished from someone with several names.

    Justin

  • Fill with initial of the first name field?

    https://DL.dropbox.com/u/78503370/AFBS_IntakeAssesment_052912_STESTV3.PDF

    Hello! I'm only a graphics person, and I am just with simple scripts. I'm trying to shoot only the first initial of the PatientName_First field and have it fill in the PatientName_Initial field in the master page so that the initials of the patient will be displayed on each page of the form.

    Please do not die of laughing at my attempt to Frankenstein a script from another form in this one, I really know anything yet, but I'm learning. I was not yet able to make JavaScript work - had more success with FormCalc.

    I don't know if that's a problem, but the form must remain static. iPad can not yet read dynamic forms, and I must be compatible iPad.

    Thanks much for any help!

    Here you go:

    1. remove all the code in the event of 'change' for the PatientName_First field.  This event fires on each typed character, and in this case, you don't need to trap all the characters.

    2. Add the following code to the event "exit" to PatientName_First:

    If (this.rawValue! == null)

    this.rawValue = this.rawValue.replace(/^\s+|\s+$/g,""); "

    The foregoing will be trim spaces attack/flight of the first name field, which was what you expected and are a good idea.  Place in means of output event happen only once the user has finished typing the name and tabs out of the field.

    3. change the name of the subform that retains information name of 'PatientDemographics '.  Naming of the subforms in the hierarchy is recommended because it makes their SEO in the script easier.  See the screenshot below.

    4. Add the following code to the event of 'calculate' to the PatientName_Initial field in the master page:

    initial var = form1. PatientDemographics.PatientName_First.rawValue;

    If (initial! == null) {}

    If (initial.length > 0) {}

    this.rawValue = initial.substr (0, 1);

    }

    }

    When the name is in the main form, the calculate event fires and the script will be executed. The script will be the first name that was entered and set the initial field to the first character in the name.  Check the name = null is important because the calculate event fires when the form is opened first, before whatever it is entered.  We check to make sure there is at least one character in the first name field before trying out the first character.

    There is no need to use a dynamic form to do this, so it should work on an iPad.  Unfortunately, I can't test that.

    See you soon,.

    Kevin

  • Auto generate database login on initial first name and the last user... LC Designer

    First initial + last name = user name...

    Text field + = text field text field...

    can I use javascript to generate the name of the first form loginname (Int first) and family name?

    For ex... First name: John

    average int: k

    Last name: Doe

    LoginName: jdoe

    var LoginName = getField("LastName").value;

    var FirstName = getField("FirstName").value;

    If (' FirstName! = "")

    LoginName += "" + FirstName.substring (0.1) + "."

    Event.Value = LoginName;

    don't know if it's true... Please help

    You guys are both using the Acrobat JS notation so you're not having much luck.

    In LK there is no getField or event.value and values are returned from fields by using fieldName.rawValue (or .formattedValue).

    I put this on the Calculate of the LoginName field event:

    var vFirstName = FirstName.rawValue;

    var vLastName = LastName.rawValue;

    If (!) (FirstName.isNull) | LastName.isNull)) {/ / if the two data fields}

    this.rawValue = vFirstName.substring (0.1) + vLastName;

    }

  • LCC - how to hide "First name" + "Second Name" on the cursor when using multi-user "SharedWhiteBoard."

    I have a Flex Web application and uses the following controls "ConnectSessionContainer" and "SharedWhiteBoard". I run few cases of applications and inside the Whiteboard changed something (example: cordinate, size) it is clear from this development spread hollow LCC to another application connected to the same room and show the cursor 'First Name', 'Second name' + 'connection ID/number.

    Issues related to the:


    -How can I hide/change label = text on the slider. I mean "First Name", "Second name" + "connection ID/number.
    -J' changed in my adobe "First Name" + "Second Name" profile, but is not propagated in the Whiteboard why?
    -Next time when I run the app 'Connection ID/number' incremented even if narrow application and start again. How to manage this part? I mean do not multiply

    Hello

    Try to explore the API SharedWhiteBoard.model.sharedCursorPane.labelField to get and set the displayName property cursors.

    Thank you

    Arun

Maybe you are looking for

  • Can't get all the additions of shared album appears on Mac (but ok on the phone)

    In an album shared with my friends, both the creator and the subscribers downloads appear in the Photos on my iPhone (iOS 9.3.2), but only the creator photos appear in the stream of photos in iPhoto on my Mac (OS X 10.8.5).)  How can I get the rest a

  • Satellite Pro A120: Need to update the BIOS after upgrade CPU

    Hello I have a Toshiba Satellite Pro A120 and I need to update the bios of a change in cpu cause.The laptop works very well, but for some reason any with the new processor fan runs always full. A lot, I searched but found nothing.The model number is

  • Satellite R20 - Memory Stick PRO Duo problem

    I looked and saw a lot of similar posts from users with a similar problem. Unfortunately, most of the answers suggested by looking at the user manual and taking note that the phone does not support the Memory Stick PRO Duo. Technically, that's true.

  • Difference between webkit and rootkit?

    What is the difference between a webkit and a rootkit?  When I opened Safari a few days ago, I think I should have stopped and opens too quickly because I got a message that it could not open, but I don't remember if she says a webkit or because of a

  • What is error-1418 on a timed loop?

    Someone at - he never had error - 1418 on the timed loop terminal error?  It runs only once and I'm trying to run it on a cRIO-9004. There is nothing in this range listed under the timed loop error codes. http://zone.NI.com/reference/en-XX/help/37136