Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function rules()
- {
- return [
- 'lat' => 'required',
- 'lng' => 'required'
- ];
- }
- public function messages()
- {
- return [
- 'lat.required' => 'Please select a location on the map',
- 'lng.required' => 'Please select a location on the map',
- ];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement