Dyanmic crm onSave change the value
- by jk
Hi
I got one assignment on Dynamic CRM 4. We have one custome entity and it has one attribute called 'Issue Number' this attributes value generated by Plug-in when it save.
When form will created meaning onLoad it will display blank value(text box is empty). But now we want to check that number is existing then concate with some random number.
For that I wrote following javascript.
if((event.Mode == 1) || (event.Mode == 2) )
{
var varIssueNumber = crmForm.all.new_issueNumber.DataValue;
alert(varIssueNumber);
}
but it is giving 'null'.
Can anybody please let me know how can I get the value of text field?
thanks in advance