Hi Bharamani,
Assuming that the name of the first field is `account`, on the second field, you could have a validation formula that simply says: `. = $account`. You'll let me know if this works for you.
Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet