changed ajax method to use dform 'method' property