Skip to content

Instantly share code, notes, and snippets.

@dbjpanda
Created April 18, 2018 15:44
Show Gist options
  • Save dbjpanda/5fe617a5fa719eb67a05c55fd018f5bf to your computer and use it in GitHub Desktop.
Save dbjpanda/5fe617a5fa719eb67a05c55fd018f5bf to your computer and use it in GitHub Desktop.
<form action="/user/password" method="post" id="user-pass" accept-charset="UTF-8"><div><div class="form-item form-type-textfield form-item-name">
<label for="edit-name--2"> Enter your username or email address associated with your user account <span class="form-required" title="This field is required.">*</span></label>
<input type="text" id="edit-name--2" name="name" value="" size="60" maxlength="254" class="form-text required" />
</div>
<input type="hidden" name="form_build_id" value="form-r8sEnKTdbfHfwvUA5rVnE1wo8VDWk0DptEMxu97zXNU" />
<input type="hidden" name="form_id" value="user_pass" />
<div class="edit-token-a123-wrapper"><div class="form-item form-type-textfield form-item-token-a123">
<label for="edit-token-a123--2">token a123 </label>
<input type="text" id="edit-token-a123--2" name="token_a123" value="" size="20" maxlength="128" class="form-text" />
<div class="description">To prevent automated spam submissions leave this field empty.</div>
</div>
</div><div class="form-actions form-wrapper" id="edit-actions--2"><input type="submit" id="edit-submit--2" name="op" value="E-mail new password" class="form-submit" /></div></div></form>
@dbjpanda
Copy link
Author

Response from URL/file/ajax/name/#value/

[{"command":"settings","settings":{"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"connecting_up","theme_token":"R-qqh94TaV3YkaAoySd-GkYLQlBGiBO4GbbMFa-4NH8"},"cufonSelectors":[]},"merge":true},{"command":"insert","method":"replaceWith","selector":null,"data":"\u003Cdiv class=\u0022messages error\u0022\u003E\n\u003Ch2 class=\u0022element-invisible\u0022\u003EError message\u003C\/h2\u003E\n \u003Cul\u003E\n \u003Cli\u003EThe username \u003Cem class=\u0022placeholder\u0022\u003Eprabhakarreddy8736\u003C\/em\u003E has not been activated or is blocked.\u003C\/li\u003E\n \u003Cli\u003EAn unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (8 MB) that this server supports.\u003C\/li\u003E\n \u003C\/ul\u003E\n\u003C\/div\u003E\n","settings":null}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment