Text Box and Date Picker Controls

Hello Experts,

I am very new to Infopath forms, I have been trying to create a form. The Form has

FirstName

LastName

Today Date

Supervisor

I have few questions

1) I have made FistName and LastName as cannot be blank.In the preview I thought If I tab the text box without text in it,  there will be some indication of mandatory field.But it allows me to tab to next field. How can this be fixed.

2) Today's Date is used DatePicker and used value as today(). Here I need today's date to be default in the field, but whenever I click preview I see the Today's date as empty field.

3) Supervisor field I made a rule that, if Supervisor is blank then set the action

But if I tab from Supervisor field without entering anything it is not setting the given concat  value in the field.

I am new to Infopath, please help me to figure this.

Thanks


  • Edited by vdha 17 hours 11 minutes ago
May 28th, 2015 10:27am

Hi ,

Greetings.

For validation

https://support.office.com/en-us/article/Add-rules-for-validation-fa530b5c-419f-4c03-a85f-d7f96cb9de95

http://thinketg.com/conditionally-requiring-a-field-in-an-infopath-form/

For date column

https://www.youtube.com/watch?v=LfXTzp-9ugM

For supervision

http://sharepoint-mattharmon.blogspot.com/2013/03/conditional-validation-rules-infopath.html

Free Windows Admin Tool Kit Click here and download it now
May 28th, 2015 10:34am

For date column,

you should now() function

May 28th, 2015 10:34am

Lakshmanan Sethu,

Thanks for the links. I tried to use Validation but it doesn't work

Free Windows Admin Tool Kit Click here and download it now
May 28th, 2015 10:43am

Hi,

1.when you make FistName and LastName as cannot be blank. In the preview there be a * and it will display a remind when you hover on the filed.

2.To make DatePicker using value as today().

Data Picker Properties->value->Insert Formula->Insert Founction->Date,choose today.

3. After you making the rule on Supervisor field, when preview, you need to fill in a value on the Supervisor filed and clear the value, Then it will work.

Best Regards,

Lisa Chen

May 29th, 2015 2:33am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics