Client Scripting for Mobile

  1. Create a new Client Script
  2. Name: Lab 2.4 Client Scripting for Mobile
    Table: Problem [problem]
    UI Type: All
    Type: onLoad
    Active: Selected
    Inherited: Not Selected
    Global: Selected
    
  3. Examine and write the Script:
  4. function onLoad(){
        if(g_form.isNewRecord()){
            g_form.setValue('assigned_to', g_user.userID);
            g_form.flash('assigned_to', 'tomato', -8);
        }
    }
    
  5. Select Submit

results matching ""

    No results matching ""