@Tod ********
yes based on thai children, although when we did it we had to provide marriage certs and stuff with the paperwork
I went and saw the person who does my visa today and she tells me that if getting a divorce you need to be sole custody of at least 1 of them to renew your visa, which is kinda ironic as we legally (according thai law) share custody now as we still married