on 03-06-2013 12:43 PM
Hi,
I want to make event terms in RFx a mandatory field during the time of creation of RFP. I tried using the page customization method but it does not seem to be working.
Could you please guide me.
Kind Regards,
Anshuman
Hi Anshuman,
You can try by using scripts.
SubordinateCollectionIfc eventTerms= doc.getEventTerms();
if(eventTerms.size()==0)
{
//throw error that this is mandatory collection
}
for(int i=0;i<eventTerms.size();i++)
{
TermsIBeanIfc eventTerm=(TermsIBeanIfc)eventTerms.get(i);
LocalizedBigText eventTermText=eventTerm.getFieldMetadata("TERMS").get(eventTerm);
if(!eventTermText.isSet())
{
//throw error that this is mandatory field
}
}
I hope this would solve the issue of making EVENT_TERMS mandatory.
Regards,
Kumud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.