Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to Disable the SUBMIT Button using the formula.

Hi. Govindu and ohters.

I really appreciate your efforts in helping others.

I am currently working with VC 7.0. Where I am working with Validation of Data.

we have input buttons( fields) like Emp, Earea, Joining date (month & Year), Ending date((month & Year) etc.,

Here we have one submit button 'submit'.

Here what my client asks is unless and until, user fills all details then only

the submit button should be enabled. Otherwise submit button should be in disable mode.

I could be able to write formula for 'submit' button's properties( Disable) like this.

BOOL(IF(LEN(@Emp_code)0 AND LEN(@Earea)0 AND LEN(@Edept)0 AND DSUB(DVAL(@Joining_date), DVAL(@Ending_date),'D')<0 ,false,true))

Here condition is always make sure that 'Joining date' should be greater than 'Ending date' . where it is working fine for all fields except Calender Year month(Joining date & Ending date).

the calender year month format is Example : """" May 2007""""

But it is considering only month But not year.

Can you kindly provide your inputs.

Edited by: Vijay Kumar on Dec 2, 2008 10:51 AM

Former Member
Not what you were looking for? View more on this topic or Ask a question