post html add record function